Package | Description |
---|---|
org.ojalgo.function | |
org.ojalgo.matrix.decomposition | |
org.ojalgo.matrix.store | |
org.ojalgo.matrix.task.iterative | |
org.ojalgo.netio |
This package loosely corresponds to (extends) the packages: java.io.*, java.nio.*, java.net.* and sun.net.*
|
org.ojalgo.optimisation | |
org.ojalgo.scalar | |
org.ojalgo.series | |
org.ojalgo.structure | |
org.ojalgo.type | |
org.ojalgo.type.context |
Modifier and Type | Method and Description |
---|---|
BigFunction.Unary |
BigFunction.enforce(NumberContext context) |
RationalFunction.Unary |
RationalFunction.enforce(NumberContext context) |
PrimitiveFunction.Unary |
PrimitiveFunction.enforce(NumberContext context) |
QuaternionFunction.Unary |
QuaternionFunction.enforce(NumberContext context) |
ComplexFunction.Unary |
ComplexFunction.enforce(NumberContext context) |
abstract UnaryFunction<N> |
FunctionSet.enforce(NumberContext context) |
Modifier and Type | Method and Description |
---|---|
static <N extends Number> |
Bidiagonal.equals(MatrixStore<N> matrix,
Bidiagonal<N> decomposition,
NumberContext context) |
static <N extends Number> |
Cholesky.equals(MatrixStore<N> matrix,
Cholesky<N> decomposition,
NumberContext context) |
static <N extends Number> |
Eigenvalue.equals(MatrixStore<N> matrix,
Eigenvalue<N> decomposition,
NumberContext context) |
static <N extends Number> |
Hessenberg.equals(MatrixStore<N> matrix,
Hessenberg<N> decomposition,
NumberContext context) |
static <N extends Number> |
LDL.equals(MatrixStore<N> matrix,
LDL<N> decomposition,
NumberContext context) |
static <N extends Number> |
LU.equals(MatrixStore<N> matrix,
LU<N> decomposition,
NumberContext context) |
static <N extends Number> |
QR.equals(MatrixStore<N> matrix,
QR<N> decomposition,
NumberContext context) |
static <N extends Number> |
SingularValue.equals(MatrixStore<N> matrix,
SingularValue<N> decomposition,
NumberContext context) |
static <N extends Number> |
Tridiagonal.equals(MatrixStore<N> matrix,
Tridiagonal<N> decomposition,
NumberContext context) |
Modifier and Type | Method and Description |
---|---|
default boolean |
MatrixStore.equals(MatrixStore<N> other,
NumberContext context) |
Modifier and Type | Method and Description |
---|---|
protected void |
MutableSolver.setAccuracyContext(NumberContext accuracyContext) |
Modifier and Type | Method and Description |
---|---|
static void |
BasicLogger.debug(String message,
Access2D<?> matrix,
NumberContext context) |
static void |
BasicLogger.error(String message,
Access2D<?> matrix,
NumberContext context) |
default void |
BasicLogger.Printer.printmtrx(String message,
Access2D<?> matrix,
NumberContext context) |
void |
BasicLogger.PrintStreamPrinter.printmtrx(String message,
Access2D<?> matrix,
NumberContext context) |
void |
BasicLogger.PrintWriterPrinter.printmtrx(String message,
Access2D<?> matrix,
NumberContext context) |
Modifier and Type | Field and Description |
---|---|
protected static NumberContext |
GenericSolver.ACCURACY |
NumberContext |
Optimisation.Options.feasibility
Used to determine/validate feasibility.
|
NumberContext |
Optimisation.Options.print
For display only!
|
NumberContext |
Optimisation.Options.solution
Describes the (required/sufficient) accuracy of the solution.
|
Modifier and Type | Method and Description |
---|---|
Optimisation.Result |
Optimisation.Result.getSolution(NumberContext precision)
Will round the solution to the given precision
|
Optimisation.Result |
ExpressionsBasedModel.getVariableValues(NumberContext validationContext)
Null variable values are replaced with 0.0.
|
abstract boolean |
ExpressionsBasedModel.Presolver.simplify(Expression expression,
Set<Structure1D.IntIndex> remaining,
BigDecimal lower,
BigDecimal upper,
NumberContext precision) |
boolean |
ExpressionsBasedModel.validate(Access1D<BigDecimal> solution,
NumberContext context) |
boolean |
MathProgSysModel.validate(Access1D<BigDecimal> solution,
NumberContext context) |
boolean |
ExpressionsBasedModel.validate(Access1D<BigDecimal> solution,
NumberContext context,
BasicLogger.Printer appender) |
protected boolean |
Variable.validate(BigDecimal value,
NumberContext context,
BasicLogger.Printer appender) |
boolean |
ExpressionsBasedModel.validate(NumberContext context) |
boolean |
ExpressionsBasedModel.validate(NumberContext context,
BasicLogger.Printer appender) |
Modifier and Type | Method and Description |
---|---|
NumberContext |
ExactDecimal.Descriptor.context() |
Modifier and Type | Method and Description |
---|---|
Quaternion |
Quaternion.enforce(NumberContext context) |
ComplexNumber |
ComplexNumber.enforce(NumberContext context)
Will call enforce(double) on the real and imaginary parts separately.
|
PrimitiveScalar |
PrimitiveScalar.enforce(NumberContext context) |
BigScalar |
BigScalar.enforce(NumberContext context)
Deprecated.
|
S |
ExactDecimal.enforce(NumberContext context) |
RationalNumber |
RationalNumber.enforce(NumberContext context) |
protected static long |
ExactDecimal.extractUnscaledValue(BigDecimal decimal,
NumberContext cntxt) |
default String |
Scalar.toPlainString(NumberContext context) |
String |
Quaternion.toString(NumberContext context) |
String |
ComplexNumber.toString(NumberContext context) |
String |
PrimitiveScalar.toString(NumberContext context) |
String |
BigScalar.toString(NumberContext context)
Deprecated.
|
String |
ExactDecimal.toString(NumberContext context) |
String |
RationalNumber.toString(NumberContext context) |
String |
Scalar.toString(NumberContext context) |
Constructor and Description |
---|
SeriesInterpolator(NumberContext context) |
Modifier and Type | Method and Description |
---|---|
static boolean |
Access1D.equals(Access1D<?> accessA,
Access1D<?> accessB,
NumberContext context) |
static boolean |
Access2D.equals(Access2D<?> accessA,
Access2D<?> accessB,
NumberContext context) |
static boolean |
AccessAnyD.equals(AccessAnyD<?> accessA,
AccessAnyD<?> accessB,
NumberContext context) |
Modifier and Type | Field and Description |
---|---|
static NumberContext |
StandardType.AMOUNT
Precision: 16
Scale: 2
Rounding Mode: RoundingMode.HALF_EVEN
Locale: JVM Default
Style: NumberStyle.CURRENCY
Fits within the Sybase (and MS SQL Server) money type which is (19,4).
|
static NumberContext |
StandardType.DECIMAL_032
Precision: 7
Scale: 3
Rounding Mode: RoundingMode.HALF_EVEN
Locale: JVM Default
Style: NumberStyle.GENERAL
|
static NumberContext |
StandardType.DECIMAL_064
Precision: 16
Scale: 8
Rounding Mode: RoundingMode.HALF_EVEN
Locale: JVM Default
Style: NumberStyle.GENERAL
|
static NumberContext |
StandardType.DECIMAL_128
Precision: 34
Scale: 17
Rounding Mode: RoundingMode.HALF_EVEN
Locale: JVM Default
Style: NumberStyle.GENERAL
|
static NumberContext |
StandardType.MATH_032
Precision: 7
Scale: 7
Rounding Mode: RoundingMode.HALF_EVEN
Locale: JVM Default
Style: NumberStyle.GENERAL
|
static NumberContext |
StandardType.MATH_064
Precision: 16
Scale: 16
Rounding Mode: RoundingMode.HALF_EVEN
Locale: JVM Default
Style: NumberStyle.GENERAL
|
static NumberContext |
StandardType.MATH_128
Precision: 34
Scale: 34
Rounding Mode: RoundingMode.HALF_EVEN
Locale: JVM Default
Style: NumberStyle.GENERAL
|
static NumberContext |
StandardType.PERCENT
Precision: 7
Scale: 4
Rounding Mode: RoundingMode.HALF_EVEN
Locale: JVM Default
Style: NumberStyle.PERCENT
|
static NumberContext |
StandardType.PRICE
Price or conversion rate (foreign exchange rate).
|
static NumberContext |
StandardType.QUANTITY
Precision: 16
Scale: 6
Rounding Mode: RoundingMode.HALF_EVEN
Locale: JVM Default
Style: NumberStyle.GENERAL
Typically you have StandardType.QUANTITY x StandardType.PRICE = StandardType.AMOUNT, an alternative
is StandardType.QUANTITY x StandardType.PRICE = StandardType.QUANTITY.
|
Modifier and Type | Method and Description |
---|---|
static NumberContext |
StandardType.amount(Locale locale) |
static NumberContext |
StandardType.decimal032() |
static NumberContext |
StandardType.decimal064() |
static NumberContext |
StandardType.integer() |
static NumberContext |
StandardType.percent(Locale locale) |
static NumberContext |
StandardType.wholePercentage() |
Modifier and Type | Method and Description |
---|---|
static BigDecimal |
TypeUtils.toBigDecimal(Number number,
NumberContext context) |
Modifier and Type | Method and Description |
---|---|
static NumberContext |
NumberContext.getCurrency(Locale locale) |
static NumberContext |
NumberContext.getGeneral(int scale) |
static NumberContext |
NumberContext.getGeneral(int precision,
int scale) |
static NumberContext |
NumberContext.getGeneral(int scale,
RoundingMode roundingMode) |
static NumberContext |
NumberContext.getGeneral(MathContext context)
The scale will be set to half the precision.
|
static NumberContext |
NumberContext.getInteger(Locale locale) |
static NumberContext |
NumberContext.getMath(int precisionAndScale) |
static NumberContext |
NumberContext.getMath(int precisionAndScale,
RoundingMode roundingMode) |
static NumberContext |
NumberContext.getMath(MathContext context)
The scale will be undefined/unlimited.
|
static NumberContext |
NumberContext.getPercent(int scale,
Locale locale) |
static NumberContext |
NumberContext.getPercent(Locale locale) |
NumberContext |
NumberContext.newFormat(NumberStyle style,
Locale locale)
Deprecated.
v48 Use
withFormat(NumberStyle,Locale) instead |
NumberContext |
NumberContext.newMathContext(MathContext context)
Deprecated.
v48 Use
withMathContext(MathContext) instead |
NumberContext |
NumberContext.newPrecision(int precision)
Deprecated.
v48 Use
withPrecision(int) instead |
NumberContext |
NumberContext.newRoundingMode(RoundingMode mode)
Deprecated.
v48 Use
withRoundingMode(RoundingMode) instead |
NumberContext |
NumberContext.newScale(int scale)
Deprecated.
v48 Use
withScale(int) instead |
NumberContext |
NumberContext.withFormat(NumberStyle style,
Locale locale) |
NumberContext |
NumberContext.withMathContext(MathContext context) |
NumberContext |
NumberContext.withoutPrecision() |
NumberContext |
NumberContext.withoutScale() |
NumberContext |
NumberContext.withPrecision(int precision) |
NumberContext |
NumberContext.withRoundingMode(RoundingMode mode) |
NumberContext |
NumberContext.withScale(int scale) |
Modifier and Type | Method and Description |
---|---|
T |
NumberContext.Enforceable.enforce(NumberContext context) |
Copyright © 2019 Optimatika. All rights reserved.