| Package | Description |
|---|---|
| org.djunits.value |
Base classes for unit-based 0-d (Scalar), 1-d (Vector) and 2-d (Matrix) values.
|
| 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<AngleUnit> |
AngleUtil.normalize(FloatScalar.Abs<AngleUnit> angle)
Normalize an angle between 0 and 2 * PI.
|
| Modifier and Type | Method and Description |
|---|---|
static FloatScalar.Abs<AngleUnit> |
AngleUtil.normalize(FloatScalar.Abs<AngleUnit> angle)
Normalize an angle between 0 and 2 * PI.
|
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
MutableTypedFloatMatrixAbs<U extends Unit<U>,A extends TypedFloatMatrixAbs<U,A,R,MA,S>,R extends TypedFloatMatrixRel<U,R,?,?>,MA extends MutableTypedFloatMatrixAbs<U,A,R,MA,S>,S extends FloatScalar.Abs<U>>
Absolute Mutable typed Matrix.
|
(package private) class |
TypedFloatMatrixAbs<U extends Unit<U>,A extends TypedFloatMatrixAbs<U,A,R,MA,S>,R extends TypedFloatMatrixRel<U,R,?,?>,MA extends MutableTypedFloatMatrixAbs<U,A,R,MA,S>,S extends FloatScalar.Abs<U>>
Absolute Immutable typed matrix.
|
| 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 |
|---|
Abs(FloatScalar.Abs<U>[][] values,
StorageType storageType)
Construct a new Absolute Mutable FloatMatrix.
|
Abs(FloatScalar.Abs<U>[][] values,
StorageType storageType)
Construct a new Absolute Immutable FloatMatrix.
|
MutableTypedFloatMatrixAbs(S[][] values,
StorageType storageType)
Construct a new Relative Mutable FloatMatrix.
|
TypedFloatMatrixAbs(S[][] values,
StorageType storageType)
Construct a new Relative Immutable FloatMatrix.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FloatAbsoluteTemperature
Easy access methods for the AbsoluteTemperature FloatScalar.
|
class |
FloatDirection
Easy access methods for the Direction FloatScalar.
|
class |
FloatPosition
Easy access methods for the Position FloatScalar.
|
class |
FloatTime
Easy access methods for the Time FloatScalar.
|
class |
TypedFloatScalarAbs<U extends Unit<U>,A extends TypedFloatScalarAbs<U,A,R>,R extends TypedFloatScalarRel<U,R>>
Absolute Immutable typed scalar.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.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.
|
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.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.
|
| 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>.
|
FloatScalar.Rel<U> |
FloatScalar.Abs.minus(FloatScalar.Abs<U> decrement)
Decrement the value by the supplied value and return the result.
|
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<U> value)
Construct a new Absolute Immutable FloatScalar from an existing Absolute Immutable FloatScalar.
|
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
MutableTypedFloatVectorAbs<U extends Unit<U>,A extends TypedFloatVectorAbs<U,A,R,MA,S>,R extends TypedFloatVectorRel<U,R,?,?>,MA extends MutableTypedFloatVectorAbs<U,A,R,MA,S>,S extends FloatScalar.Abs<U>>
Absolute Mutable typed Vector.
|
(package private) class |
TypedFloatVectorAbs<U extends Unit<U>,A extends TypedFloatVectorAbs<U,A,R,MA,S>,R extends TypedFloatVectorRel<U,R,?,?>,MA extends MutableTypedFloatVectorAbs<U,A,R,MA,S>,S extends FloatScalar.Abs<U>>
Absolute Immutable typed vector.
|
| 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.
|
| Constructor and Description |
|---|
Abs(FloatScalar.Abs<U>[] values,
StorageType storageType)
Construct a new Absolute Mutable FloatVector.
|
Abs(FloatScalar.Abs<U>[] values,
StorageType storageType)
Construct a new Absolute Immutable FloatVector.
|
MutableTypedFloatVectorAbs(S[] values,
StorageType storageType)
Construct a new Relative Mutable FloatVector.
|
TypedFloatVectorAbs(S[] values,
StorageType storageType)
Construct a new Relative Immutable FloatVector.
|
Copyright © 2015–2016 Delft University of Technology. All rights reserved.