|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ojalgo.type.context.NumberContext
org.ojalgo.NumericTypeContext
NumberContext instead.
public final class NumericTypeContext
NumericTypeContext
| Constructor Summary | |
|---|---|
NumericTypeContext()
Deprecated. |
|
NumericTypeContext(int aScale)
Deprecated. |
|
NumericTypeContext(int aPrecision,
int aScale)
Deprecated. |
|
NumericTypeContext(int aPrecision,
int aScale,
RoundingMode aRoundingMode)
Deprecated. |
|
NumericTypeContext(MathContext aMathContext)
Deprecated. |
|
NumericTypeContext(MathContext aMathContext,
int aScale)
Deprecated. |
|
NumericTypeContext(RoundingMode aRoundingMode)
Deprecated. |
|
| Method Summary | |
|---|---|
static BigDecimal |
enforce(BigDecimal aNmbr,
NumberContext aCntxt)
Deprecated. Version 19. Use MathUtils.enforce(BigDecimal,NumberContext) instead |
static ComplexNumber |
enforce(ComplexNumber aNmbr,
NumberContext aCntxt)
Deprecated. Version 19. Use MathUtils.enforce(ComplexNumber,NumberContext) instead |
static double |
enforce(double aNmbr,
NumberContext aCntxt)
Deprecated. Version 19. Use MathUtils.enforce(double,NumberContext) instead |
static RationalScalar |
enforce(RationalScalar aNmbr,
NumberContext aCntxt)
Deprecated. Version 19. Use MathUtils.enforce(RationalScalar,NumberContext) instead |
boolean |
equals(Object someObj)
|
String |
formatString(O anObject)
|
static double |
getError(int aScale)
Deprecated. Version 19. Use MathUtils.getError(int) instead |
Format |
getFormat()
|
O |
parseObject(String aString)
|
void |
setFormat(Format aFormat)
|
| Methods inherited from class org.ojalgo.type.context.NumberContext |
|---|
getError, getFormat, getInstance, getMathContext, getMathContext, getPrecision, getRoundingMode, getScale, hashCode, setFormat |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NumericTypeContext()
public NumericTypeContext(int aScale)
public NumericTypeContext(int aPrecision,
int aScale)
public NumericTypeContext(int aPrecision,
int aScale,
RoundingMode aRoundingMode)
public NumericTypeContext(MathContext aMathContext)
public NumericTypeContext(MathContext aMathContext,
int aScale)
public NumericTypeContext(RoundingMode aRoundingMode)
| Method Detail |
|---|
public static BigDecimal enforce(BigDecimal aNmbr,
NumberContext aCntxt)
MathUtils.enforce(BigDecimal,NumberContext) instead
public static ComplexNumber enforce(ComplexNumber aNmbr,
NumberContext aCntxt)
MathUtils.enforce(ComplexNumber,NumberContext) instead
public static double enforce(double aNmbr,
NumberContext aCntxt)
MathUtils.enforce(double,NumberContext) instead
public static RationalScalar enforce(RationalScalar aNmbr,
NumberContext aCntxt)
MathUtils.enforce(RationalScalar,NumberContext) instead
public static double getError(int aScale)
MathUtils.getError(int) instead
public final boolean equals(Object someObj)
equals in class Objectpublic final String formatString(O anObject)
public final Format getFormat()
public final O parseObject(String aString)
public final void setFormat(Format aFormat)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||