Package | Description |
---|---|
org.opentrafficsim.core.value.vfloat.scalar |
Float Scalar storage and calculations with units, absolute/relative.
|
Modifier and Type | Method and Description |
---|---|
MutableFloatScalar.Abs<U> |
MutableFloatScalar.Abs.abs()
Set the value(s) to their absolute value.
|
MutableFloatScalar.Abs<U> |
MutableFloatScalar.Abs.acos()
Set the value(s) to the arc cosine of the value(s); the resulting angle is in the range 0.0 through pi.
|
MutableFloatScalar.Abs<U> |
MutableFloatScalar.Abs.asin()
Set the value(s) to the arc sine of the value(s); the resulting angle is in the range -pi/2 through pi/2.
|
MutableFloatScalar.Abs<U> |
MutableFloatScalar.Abs.atan()
Set the value(s) to the arc tangent of the value(s); the resulting angle is in the range -pi/2 through pi/2.
|
MutableFloatScalar.Abs<U> |
MutableFloatScalar.Abs.cbrt()
Set the value(s) to the(ir) cube root.
|
MutableFloatScalar.Abs<U> |
MutableFloatScalar.Abs.ceil()
Set the value(s) to the smallest (closest to negative infinity) value(s) that are greater than or equal to the
argument and equal to a mathematical integer.
|
MutableFloatScalar.Abs<U> |
MutableFloatScalar.Abs.copy()
Create a deep copy of this Value.
|
MutableFloatScalar.Abs<U> |
MutableFloatScalar.Abs.cos()
Set the value(s) to the trigonometric cosine of the value(s).
|
MutableFloatScalar.Abs<U> |
MutableFloatScalar.Abs.cosh()
Set the value(s) to the hyperbolic cosine of the value(s).
|
MutableFloatScalar.Abs<U> |
MutableFloatScalar.Abs.decrementBy(FloatScalar.Rel<U> decrement)
Decrement the value by the supplied value and return the result.
|
static MutableFloatScalar.Abs<SIUnit> |
FloatScalar.divide(FloatScalar.Abs<?> left,
FloatScalar.Abs<?> right)
Divide two values; the result is a new instance with a different (existing or generated) SI unit.
|
MutableFloatScalar.Abs<U> |
MutableFloatScalar.Abs.exp()
Set the value(s) to Euler's number e raised to the power of the value(s).
|
MutableFloatScalar.Abs<U> |
MutableFloatScalar.Abs.expm1()
Set the value(s) to Euler's number e raised to the power of the value(s) minus 1 (e^x - 1).
|
MutableFloatScalar.Abs<U> |
MutableFloatScalar.Abs.floor()
Set the value(s) to the largest (closest to positive infinity) value(s) that are less than or equal to the
argument and equal to a mathematical integer.
|
MutableFloatScalar.Abs<U> |
MutableFloatScalar.Abs.incrementBy(FloatScalar.Rel<U> increment)
Increment the value by the supplied value and return the result.
|
static <U extends Unit<U>> |
FloatScalar.interpolate(FloatScalar.Abs<U> zero,
FloatScalar.Abs<U> one,
float ratio)
Interpolate between or extrapolate over two values.
|
MutableFloatScalar.Abs<U> |
MutableFloatScalar.Abs.inv()
Set the value(s) to the complement (1.0/x) of the value(s).
|
MutableFloatScalar.Abs<U> |
MutableFloatScalar.Abs.log()
Set the value(s) to the natural logarithm (base e) of the value(s).
|
MutableFloatScalar.Abs<U> |
MutableFloatScalar.Abs.log10()
Set the value(s) to the base 10 logarithm of the value(s).
|
MutableFloatScalar.Abs<U> |
MutableFloatScalar.Abs.log1p()
Set the value(s) to the natural logarithm of the sum of the value(s) and 1.
|
static <U extends Unit<U>> |
FloatScalar.minus(FloatScalar.Abs<U> left,
FloatScalar.Rel<U> right)
Subtract a Relative value from an absolute value.
|
static MutableFloatScalar.Abs<SIUnit> |
FloatScalar.multiply(FloatScalar.Abs<?> left,
FloatScalar.Abs<?> right)
Multiply two values; the result is a new instance with a different (existing or generated) SI unit.
|
MutableFloatScalar.Abs<U> |
MutableFloatScalar.Abs.mutable()
Create a mutable version of this FloatScalar.
|
MutableFloatScalar.Abs<U> |
FloatScalar.Abs.mutable()
Create a mutable version of this FloatScalar.
|
static <U extends Unit<U>> |
FloatScalar.plus(FloatScalar.Abs<U> left,
FloatScalar.Rel<U> right)
Add a Relative value to an Absolute value.
|
MutableFloatScalar.Abs<U> |
MutableFloatScalar.Abs.pow(double x)
Set the value(s) to the value(s) raised to the power of the argument.
|
MutableFloatScalar.Abs<U> |
MutableFloatScalar.Abs.rint()
Set the value(s) to the value(s) that are closest in value to the argument and equal to a mathematical integer.
|
MutableFloatScalar.Abs<U> |
MutableFloatScalar.Abs.round()
Set the value(s) to the closest long to the argument with ties rounding up.
|
MutableFloatScalar.Abs<U> |
MutableFloatScalar.Abs.signum()
Set the value(s) to the signum function of the value(s); zero if the argument is zero, 1.0 if the argument is
greater than zero, -1.0 if the argument is less than zero.
|
MutableFloatScalar.Abs<U> |
MutableFloatScalar.Abs.sin()
Set the value(s) to the trigonometric sine of the value(s).
|
MutableFloatScalar.Abs<U> |
MutableFloatScalar.Abs.sinh()
Set the value(s) to the hyperbolic sine of the value(s).
|
MutableFloatScalar.Abs<U> |
MutableFloatScalar.Abs.sqrt()
Set the value(s) to the correctly rounded positive square root of the value(s).
|
MutableFloatScalar.Abs<U> |
MutableFloatScalar.Abs.tan()
Set the value(s) to the trigonometric tangent of the value(s).
|
MutableFloatScalar.Abs<U> |
MutableFloatScalar.Abs.tanh()
Set the value(s) to the hyperbolic tangent of the value(s).
|
MutableFloatScalar.Abs<U> |
MutableFloatScalar.Abs.toDegrees()
Set the value(s) to approximately equivalent angle(s) measured in degrees.
|
MutableFloatScalar.Abs<U> |
MutableFloatScalar.Abs.toRadians()
Set the value(s) to approximately equivalent angle(s) measured in radians.
|
Modifier and Type | Method and Description |
---|---|
int |
MutableFloatScalar.Abs.compareTo(MutableFloatScalar.Abs<U> o) |
Constructor and Description |
---|
FloatScalar.Abs(MutableFloatScalar.Abs<U> value)
Construct a new Absolute Immutable FloatScalar from an existing Absolute MutableFloatScalar.
|
MutableFloatScalar.Abs(MutableFloatScalar.Abs<U> value)
Construct a new Absolute MutableFloatScalar from an existing Absolute MutableFloatScalar.
|
Copyright © 2014–2015 Delft University of Technology. All rights reserved.