Package | Description |
---|---|
gov.sandia.cognition.math |
Provides classes for mathematical computation.
|
Modifier and Type | Method and Description |
---|---|
UnsignedLogNumber |
UnsignedLogNumber.clone() |
static UnsignedLogNumber |
UnsignedLogNumber.createFromLogValue(double logValue)
Creates a new
LogNumber from the given value that is already in
log-space. |
static UnsignedLogNumber |
UnsignedLogNumber.createFromValue(double value)
Creates a new
LogNumber from the given value. |
UnsignedLogNumber |
UnsignedLogNumber.divide(UnsignedLogNumber other)
Divides this value by another value and returns the result.
|
UnsignedLogNumber |
UnsignedLogNumber.dotTimes(UnsignedLogNumber other) |
UnsignedLogNumber |
UnsignedLogNumber.inverse() |
UnsignedLogNumber |
UnsignedLogNumber.max(UnsignedLogNumber other)
A new
LogNumber that is the maximum of this and another. |
UnsignedLogNumber |
UnsignedLogNumber.min(UnsignedLogNumber other)
A new
LogNumber that is the minimum of this and another. |
UnsignedLogNumber |
UnsignedLogNumber.minus(UnsignedLogNumber other) |
UnsignedLogNumber |
UnsignedLogNumber.negative() |
UnsignedLogNumber |
UnsignedLogNumber.plus(UnsignedLogNumber other) |
UnsignedLogNumber |
UnsignedLogNumber.power(double power)
Returns a new
LogNumber representing this log number taken
to the given power. |
UnsignedLogNumber |
UnsignedLogNumber.scale(double scaleFactor) |
UnsignedLogNumber |
UnsignedLogNumber.scaledMinus(double scaleFactor,
UnsignedLogNumber other) |
UnsignedLogNumber |
UnsignedLogNumber.scaledPlus(double scaleFactor,
UnsignedLogNumber other) |
UnsignedLogNumber |
UnsignedLogNumber.times(UnsignedLogNumber other)
Multiples this value times another value and returns the result.
|
Modifier and Type | Method and Description |
---|---|
int |
UnsignedLogNumber.compareTo(UnsignedLogNumber other) |
UnsignedLogNumber |
UnsignedLogNumber.divide(UnsignedLogNumber other)
Divides this value by another value and returns the result.
|
void |
UnsignedLogNumber.divideEquals(UnsignedLogNumber other)
Divides this value by another value and stores the result in
this value.
|
UnsignedLogNumber |
UnsignedLogNumber.dotTimes(UnsignedLogNumber other) |
void |
UnsignedLogNumber.dotTimesEquals(UnsignedLogNumber other) |
boolean |
UnsignedLogNumber.equals(UnsignedLogNumber other,
double effectiveZero) |
UnsignedLogNumber |
UnsignedLogNumber.max(UnsignedLogNumber other)
A new
LogNumber that is the maximum of this and another. |
void |
UnsignedLogNumber.maxEquals(UnsignedLogNumber other)
Changes this value to be the maximum of this value or the given value.
|
UnsignedLogNumber |
UnsignedLogNumber.min(UnsignedLogNumber other)
A new
LogNumber that is the minimum of this and another. |
void |
UnsignedLogNumber.minEquals(UnsignedLogNumber other)
Changes this value to be the minimum of this value or the given value.
|
UnsignedLogNumber |
UnsignedLogNumber.minus(UnsignedLogNumber other) |
void |
UnsignedLogNumber.minusEquals(UnsignedLogNumber other) |
UnsignedLogNumber |
UnsignedLogNumber.plus(UnsignedLogNumber other) |
void |
UnsignedLogNumber.plusEquals(UnsignedLogNumber other) |
UnsignedLogNumber |
UnsignedLogNumber.scaledMinus(double scaleFactor,
UnsignedLogNumber other) |
void |
UnsignedLogNumber.scaledMinusEquals(double scaleFactor,
UnsignedLogNumber other) |
UnsignedLogNumber |
UnsignedLogNumber.scaledPlus(double scaleFactor,
UnsignedLogNumber other) |
void |
UnsignedLogNumber.scaledPlusEquals(double scaleFactor,
UnsignedLogNumber other) |
UnsignedLogNumber |
UnsignedLogNumber.times(UnsignedLogNumber other)
Multiples this value times another value and returns the result.
|
void |
UnsignedLogNumber.timesEquals(UnsignedLogNumber other)
Multiplies this value times another value and stores the result in
this value.
|
Constructor and Description |
---|
UnsignedLogNumber(UnsignedLogNumber other)
Copies a given LogNumber.
|