| Package | Description |
|---|---|
| org.djunits.unit |
Classes for the unit system.
|
| org.djunits.value.vfloat.matrix |
Float Matrix storage and calculations with units, absolute/relative, sparse/dense.
|
| org.djunits.value.vfloat.scalar |
Float Scalar storage and calculations with units, absolute/relative.
|
| org.djunits.value.vfloat.vector |
Float Vector storage and calculations with units, absolute/relative, sparse/dense.
|
| Modifier and Type | Method and Description |
|---|---|
static FloatScalar.Abs<AnglePlaneUnit> |
AnglePlaneUnit.normalize(FloatScalar.Abs<AnglePlaneUnit> angle)
Normalize an angle between 0 and 2 * PI.
|
| Modifier and Type | Method and Description |
|---|---|
static FloatScalar.Abs<AnglePlaneUnit> |
AnglePlaneUnit.normalize(FloatScalar.Abs<AnglePlaneUnit> angle)
Normalize an angle between 0 and 2 * PI.
|
| Modifier and Type | Method and Description |
|---|---|
FloatScalar.Abs<U> |
MutableFloatMatrix.Abs.get(int row,
int column)
Retrieve the value stored at a specified row and column as a FloatScalar.
|
FloatScalar.Abs<U> |
FloatMatrix.Abs.get(int row,
int column)
Retrieve the value stored at a specified row and column as a FloatScalar.
|
| Constructor and Description |
|---|
Dense(FloatScalar.Abs<U>[][] values)
Construct a new Absolute Dense MutableFloatMatrix.
|
Dense(FloatScalar.Abs<U>[][] values)
Construct a new Absolute Dense Immutable FloatMatrix.
|
Sparse(FloatScalar.Abs<U>[][] values)
Construct a new Absolute Sparse MutableFloatMatrix.
|
Sparse(FloatScalar.Abs<U>[][] values)
Construct a new Absolute Sparse Immutable FloatMatrix.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
FloatAnglePlane.Abs
Easy access methods for the AnglePlane FloatScalar.
|
static class |
FloatAngleSlope.Abs
Easy access methods for the AngleSlope FloatScalar.
|
static class |
FloatDimensionless.Abs
Easy access methods for the Dimensionless FloatScalar.
|
static class |
FloatLength.Abs
Easy access methods for the Length FloatScalar.
|
static class |
FloatTemperature.Abs
Easy access methods for the Temperature FloatScalar.
|
static class |
FloatTime.Abs
Easy access methods for the Time FloatScalar.
|
| Modifier and Type | Method and Description |
|---|---|
FloatScalar.Abs<U> |
FloatScalar.Abs.abs()
Set the value(s) to their absolute value.
|
FloatScalar.Abs<U> |
FloatScalar.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.
|
FloatScalar.Abs<U> |
FloatScalar.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.
|
FloatScalar.Abs<U> |
FloatScalar.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.
|
FloatScalar.Abs<U> |
FloatScalar.Abs.cbrt()
Set the value(s) to the(ir) cube root.
|
FloatScalar.Abs<U> |
FloatScalar.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.
|
FloatScalar.Abs<U> |
FloatScalar.Abs.cos()
Set the value(s) to the trigonometric cosine of the value(s).
|
FloatScalar.Abs<U> |
FloatScalar.Abs.cosh()
Set the value(s) to the hyperbolic cosine of the value(s).
|
static FloatScalar.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.
|
FloatScalar.Abs<U> |
FloatScalar.Abs.divideBy(float constant)
Scale the value(s) by the inverse of a factor; i.e.
|
FloatScalar.Abs<U> |
FloatScalar.Abs.exp()
Set the value(s) to Euler's number e raised to the power of the value(s).
|
FloatScalar.Abs<U> |
FloatScalar.Abs.expm1()
Set the value(s) to Euler's number e raised to the power of the value(s) minus 1 (e^x - 1).
|
FloatScalar.Abs<U> |
FloatScalar.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.
|
static <U extends Unit<U>> |
FloatScalar.interpolate(FloatScalar.Abs<U> zero,
FloatScalar.Abs<U> one,
float ratio)
Interpolate between or extrapolate over two values.
|
FloatScalar.Abs<U> |
FloatScalar.Abs.inv()
Set the value(s) to the complement (1.0/x) of the value(s).
|
FloatScalar.Abs<U> |
FloatScalar.Abs.log()
Set the value(s) to the natural logarithm (base e) of the value(s).
|
FloatScalar.Abs<U> |
FloatScalar.Abs.log10()
Set the value(s) to the base 10 logarithm of the value(s).
|
FloatScalar.Abs<U> |
FloatScalar.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.
|
FloatScalar.Abs<U> |
FloatScalar.Abs.minus(FloatScalar.Rel<U> decrement)
Decrement the value by the supplied value and return the result.
|
static FloatScalar.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.
|
FloatScalar.Abs<U> |
FloatScalar.Abs.multiplyBy(float constant)
Scale the value(s) by a factor.
|
static <U extends Unit<U>> |
FloatScalar.plus(FloatScalar.Abs<U> left,
FloatScalar.Rel<U> right)
Add a Relative value to an Absolute value.
|
FloatScalar.Abs<U> |
FloatScalar.Abs.plus(FloatScalar.Rel<U> increment)
Increment the value by the supplied value and return the result.
|
static <U extends Unit<U>> |
FloatScalar.plus(FloatScalar.Rel<U> left,
FloatScalar.Abs<U> right)
Add an Absolute value to a Relative value.
|
FloatScalar.Abs<U> |
FloatScalar.Abs.pow(double x)
Set the value(s) to the value(s) raised to the power of the argument.
|
FloatScalar.Abs<U> |
FloatScalar.Abs.rint()
Set the value(s) to the value(s) that are closest in value to the argument and equal to a mathematical integer.
|
FloatScalar.Abs<U> |
FloatScalar.Abs.round()
Set the value(s) to the closest long to the argument with ties rounding up.
|
FloatScalar.Abs<U> |
FloatScalar.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.
|
FloatScalar.Abs<U> |
FloatScalar.Abs.sin()
Set the value(s) to the trigonometric sine of the value(s).
|
FloatScalar.Abs<U> |
FloatScalar.Abs.sinh()
Set the value(s) to the hyperbolic sine of the value(s).
|
FloatScalar.Abs<U> |
FloatScalar.Abs.sqrt()
Set the value(s) to the correctly rounded positive square root of the value(s).
|
FloatScalar.Abs<U> |
FloatScalar.Abs.tan()
Set the value(s) to the trigonometric tangent of the value(s).
|
FloatScalar.Abs<U> |
FloatScalar.Abs.tanh()
Set the value(s) to the hyperbolic tangent of the value(s).
|
FloatScalar.Abs<U> |
FloatScalar.Abs.toDegrees()
Set the value(s) to approximately equivalent angle(s) measured in degrees.
|
FloatScalar.Abs<U> |
FloatScalar.Abs.toRadians()
Set the value(s) to approximately equivalent angle(s) measured in radians.
|
| Modifier and Type | Method and Description |
|---|---|
int |
FloatScalar.Abs.compareTo(FloatScalar.Abs<U> o) |
static FloatScalar.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.
|
static FloatScalar.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.
|
boolean |
FloatScalar.Abs.eq(FloatScalar.Abs<U> o)
Test if this FloatScalar.Abs<U> is equal to a FloatScalar.Abs<U>.
|
boolean |
FloatScalar.Abs.ge(FloatScalar.Abs<U> o)
Test if this FloatScalar.Abs<U> is greater than a FloatScalar.Abs<U>.
|
boolean |
FloatScalar.Abs.gt(FloatScalar.Abs<U> o)
Test if this FloatScalar.Abs<U> is greater than or equal to a FloatScalar.Abs<U>.
|
static <U extends Unit<U>> |
FloatScalar.interpolate(FloatScalar.Abs<U> zero,
FloatScalar.Abs<U> one,
float ratio)
Interpolate between or extrapolate over two values.
|
static <U extends Unit<U>> |
FloatScalar.interpolate(FloatScalar.Abs<U> zero,
FloatScalar.Abs<U> one,
float ratio)
Interpolate between or extrapolate over two values.
|
boolean |
FloatScalar.Abs.le(FloatScalar.Abs<U> o)
Test if this FloatScalar.Abs<U> is less than or equal to a FloatScalar.Abs<U>.
|
boolean |
FloatScalar.Abs.lt(FloatScalar.Abs<U> o)
Test if this FloatScalar.Abs<U> is less than a FloatScalar.Abs<U>.
|
static <U extends Unit<U>> |
FloatScalar.minus(FloatScalar.Abs<U> left,
FloatScalar.Abs<U> right)
Subtract two absolute values.
|
static <U extends Unit<U>> |
FloatScalar.minus(FloatScalar.Abs<U> left,
FloatScalar.Abs<U> right)
Subtract two absolute values.
|
static <U extends Unit<U>> |
FloatScalar.minus(FloatScalar.Abs<U> left,
FloatScalar.Rel<U> right)
Subtract a Relative value from an absolute value.
|
static FloatScalar.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.
|
static FloatScalar.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.
|
boolean |
FloatScalar.Abs.ne(FloatScalar.Abs<U> o)
Test if this FloatScalar.Abs<U> is not equal to a FloatScalar.Abs<U>.
|
static <U extends Unit<U>> |
FloatScalar.plus(FloatScalar.Abs<U> left,
FloatScalar.Rel<U> right)
Add a Relative value to an Absolute value.
|
static <U extends Unit<U>> |
FloatScalar.plus(FloatScalar.Rel<U> left,
FloatScalar.Abs<U> right)
Add an Absolute value to a Relative value.
|
| Constructor and Description |
|---|
Abs(FloatScalar.Abs<AnglePlaneUnit> value)
Construct FloatAnglePlane.Abs scalar.
|
Abs(FloatScalar.Abs<AngleSlopeUnit> value)
Construct FloatAngleSlope.Abs scalar.
|
Abs(FloatScalar.Abs<DimensionlessUnit> value)
Construct FloatDimensionless.Abs scalar.
|
Abs(FloatScalar.Abs<LengthUnit> value)
Construct FloatLength.Abs scalar.
|
Abs(FloatScalar.Abs<TemperatureUnit> value)
Construct FloatTemperature.Abs scalar.
|
Abs(FloatScalar.Abs<TimeUnit> value)
Construct FloatTime.Abs scalar.
|
Abs(FloatScalar.Abs<U> value)
Construct a new Absolute Immutable FloatScalar from an existing Absolute Immutable FloatScalar.
|
| Modifier and Type | Method and Description |
|---|---|
FloatScalar.Abs<U> |
MutableFloatVector.Abs.get(int index)
Retrieve the value stored at a specified index as a FloatScalar.
|
FloatScalar.Abs<U> |
FloatVector.Abs.get(int index)
Retrieve the value stored at a specified index as a FloatScalar.
|
| Modifier and Type | Method and Description |
|---|---|
protected FloatVectorDataSparse |
FloatVector.initializeSparseMA(SortedMap<Integer,FloatScalar.Abs<U>> values,
int length)
Import the values from a sparse map of integers and values.
|
| Constructor and Description |
|---|
Dense(FloatScalar.Abs<U>[] values)
Construct a new Absolute Dense Mutable FloatVector.
|
Dense(FloatScalar.Abs<U>[] values)
Construct a new Absolute Dense Immutable FloatVector.
|
Sparse(FloatScalar.Abs<U>[] values)
Construct a new Absolute Sparse Mutable FloatVector.
|
Sparse(FloatScalar.Abs<U>[] values)
Construct a new Absolute Sparse Immutable FloatVector.
|
| Constructor and Description |
|---|
Dense(List<FloatScalar.Abs<LengthUnit>> values)
Construct a new Absolute Dense Mutable FloatLengthVector.
|
Dense(List<FloatScalar.Abs<LengthUnit>> values)
Construct a new Absolute Dense Immutable FloatVector.
|
Dense(List<FloatScalar.Abs<U>> values)
Construct a new Absolute Dense Mutable FloatVector.
|
Dense(List<FloatScalar.Abs<U>> values)
Construct a new Absolute Dense Immutable FloatVector.
|
Sparse(SortedMap<Integer,FloatScalar.Abs<LengthUnit>> values,
int length)
Construct a new Absolute Sparse Mutable FloatLengthVector.
|
Sparse(SortedMap<Integer,FloatScalar.Abs<LengthUnit>> values,
int length)
Construct a new Absolute Sparse Immutable FloatVector.
|
Sparse(SortedMap<Integer,FloatScalar.Abs<U>> values,
int length)
Construct a new Absolute Sparse Mutable FloatVector.
|
Sparse(SortedMap<Integer,FloatScalar.Abs<U>> values,
int length)
Construct a new Absolute Sparse Immutable FloatVector.
|
Copyright © 2015 Delft University of Technology. All rights reserved.