| 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.Rel<AngleUnit> |
AngleUtil.normalize(FloatScalar.Rel<AngleUnit> angle)
Normalize an angle between 0 and 2 * PI.
|
| Modifier and Type | Method and Description |
|---|---|
static FloatScalar.Rel<AngleUnit> |
AngleUtil.normalize(FloatScalar.Rel<AngleUnit> angle)
Normalize an angle between 0 and 2 * PI.
|
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
MutableTypedFloatMatrixDimensionless<U extends Unit<U>,R extends TypedFloatMatrixRel<U,R,MR,S>,MR extends MutableTypedFloatMatrixDimensionless<U,R,MR,S>,S extends FloatScalar.Rel<U>>
Relative Mutable typed Dimensionless Matrix.
|
(package private) class |
MutableTypedFloatMatrixRel<U extends Unit<U>,R extends TypedFloatMatrixRel<U,R,MR,S>,MR extends MutableTypedFloatMatrixRel<U,R,MR,S>,S extends FloatScalar.Rel<U>>
Relative Mutable typed Matrix.
|
(package private) class |
TypedFloatMatrixRel<U extends Unit<U>,R extends TypedFloatMatrixRel<U,R,MR,S>,MR extends MutableTypedFloatMatrixRel<U,R,MR,S>,S extends FloatScalar.Rel<U>>
Relative Immutable typed matrix.
|
| Modifier and Type | Method and Description |
|---|---|
FloatScalar.Rel<U> |
MutableFloatMatrix.Rel.get(int row,
int column)
Retrieve the value stored at a specified row and column as a FloatScalar.
|
FloatScalar.Rel<U> |
FloatMatrix.Rel.get(int row,
int column)
Retrieve the value stored at a specified row and column as a FloatScalar.
|
| Modifier and Type | Method and Description |
|---|---|
MutableFloatMatrix.Abs<U> |
MutableFloatMatrix.Abs.decrementBy(FloatScalar.Rel<U> decrement)
Decrement the value by the supplied value and return the changed vector.
|
MutableFloatMatrix.Rel<U> |
MutableFloatMatrix.Rel.decrementBy(FloatScalar.Rel<U> decrement)
Decrement the value by the supplied value and return the changed vector.
|
MutableFloatMatrix.Abs<U> |
MutableFloatMatrix.Abs.divideBy(FloatScalar.Rel<U> factor)
Divide the values in the vector by the supplied value and return the changed vector.
|
MutableFloatMatrix.Rel<U> |
MutableFloatMatrix.Rel.divideBy(FloatScalar.Rel<U> factor)
Divide the values in the vector by the supplied value and return the changed vector.
|
MutableFloatMatrix.Abs<U> |
MutableFloatMatrix.Abs.incrementBy(FloatScalar.Rel<U> increment)
Increment the value by the supplied value and return the changed vector.
|
MutableFloatMatrix.Rel<U> |
MutableFloatMatrix.Rel.incrementBy(FloatScalar.Rel<U> increment)
Increment the value by the supplied value and return the changed vector.
|
MutableFloatMatrix.Abs<U> |
MutableFloatMatrix.Abs.multiplyBy(FloatScalar.Rel<U> factor)
Multiply the values in the vector by the supplied value and return the changed vector.
|
MutableFloatMatrix.Rel<U> |
MutableFloatMatrix.Rel.multiplyBy(FloatScalar.Rel<U> factor)
Multiply the values in the vector by the supplied value and return the changed vector.
|
| Constructor and Description |
|---|
MutableTypedFloatMatrixDimensionless(S[][] values,
StorageType storageType)
Construct a new Relative Mutable FloatMatrix.
|
MutableTypedFloatMatrixRel(S[][] values,
StorageType storageType)
Construct a new Relative Mutable FloatMatrix.
|
Rel(FloatScalar.Rel<U>[][] values,
StorageType storageType)
Construct a new Relative Mutable FloatMatrix.
|
Rel(FloatScalar.Rel<U>[][] values,
StorageType storageType)
Construct a new Relative Immutable FloatMatrix.
|
TypedFloatMatrixRel(S[][] values,
StorageType storageType)
Construct a new Relative Immutable FloatMatrix.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FloatAcceleration
Easy access methods for the Acceleration FloatScalar, which is relative by definition.
|
class |
FloatAngle
Easy access methods for the %Type% FloatScalar.
|
class |
FloatAngleSolid
Easy access methods for the AngleSolid FloatScalar, which is relative by definition.
|
class |
FloatArea
Easy access methods for the Area FloatScalar, which is relative by definition.
|
class |
FloatDensity
Easy access methods for the Density FloatScalar, which is relative by definition.
|
class |
FloatDimensionless
Easy access methods for the Dimensionless FloatScalar, which is relative by definition.
|
class |
FloatDuration
Easy access methods for the %Type% FloatScalar.
|
class |
FloatElectricalCharge
Easy access methods for the ElectricalCharge FloatScalar, which is relative by definition.
|
class |
FloatElectricalCurrent
Easy access methods for the ElectricalCurrent FloatScalar, which is relative by definition.
|
class |
FloatElectricalPotential
Easy access methods for the ElectricalPotential FloatScalar, which is relative by definition.
|
class |
FloatElectricalResistance
Easy access methods for the ElectricalResistance FloatScalar, which is relative by definition.
|
class |
FloatEnergy
Easy access methods for the Energy FloatScalar, which is relative by definition.
|
class |
FloatFlowMass
Easy access methods for the FlowMass FloatScalar, which is relative by definition.
|
class |
FloatFlowVolume
Easy access methods for the FlowVolume FloatScalar, which is relative by definition.
|
class |
FloatForce
Easy access methods for the Force FloatScalar, which is relative by definition.
|
class |
FloatFrequency
Easy access methods for the Frequency FloatScalar, which is relative by definition.
|
class |
FloatLength
Easy access methods for the %Type% FloatScalar.
|
class |
FloatLinearDensity
Easy access methods for the LinearDensity FloatScalar, which is relative by definition.
|
class |
FloatMass
Easy access methods for the Mass FloatScalar, which is relative by definition.
|
class |
FloatMoney
Easy access methods for the Money FloatScalar, which is relative by definition.
|
class |
FloatMoneyPerArea
Easy access methods for the MoneyPerArea FloatScalar, which is relative by definition.
|
class |
FloatMoneyPerEnergy
Easy access methods for the MoneyPerEnergy FloatScalar, which is relative by definition.
|
class |
FloatMoneyPerLength
Easy access methods for the MoneyPerLength FloatScalar, which is relative by definition.
|
class |
FloatMoneyPerMass
Easy access methods for the MoneyPerMass FloatScalar, which is relative by definition.
|
class |
FloatMoneyPerTime
Easy access methods for the MoneyPerTime FloatScalar, which is relative by definition.
|
class |
FloatMoneyPerVolume
Easy access methods for the MoneyPerVolume FloatScalar, which is relative by definition.
|
class |
FloatPower
Easy access methods for the Power FloatScalar, which is relative by definition.
|
class |
FloatPressure
Easy access methods for the Pressure FloatScalar, which is relative by definition.
|
class |
FloatSpeed
Easy access methods for the Speed FloatScalar, which is relative by definition.
|
class |
FloatTemperature
Easy access methods for the %Type% FloatScalar.
|
class |
FloatTorque
Easy access methods for the Torque FloatScalar, which is relative by definition.
|
class |
FloatVolume
Easy access methods for the Volume FloatScalar, which is relative by definition.
|
class |
TypedFloatScalarDimensionless<U extends Unit<U>,R extends TypedFloatScalarDimensionless<U,R>>
Absolute Relative typed scalar.
|
class |
TypedFloatScalarRel<U extends Unit<U>,R extends TypedFloatScalarRel<U,R>>
Absolute Relative typed scalar.
|
| Modifier and Type | Method and Description |
|---|---|
FloatScalar.Rel<U> |
FloatScalar.Rel.abs()
Set the value(s) to their absolute value.
|
FloatScalar.Rel<U> |
FloatScalar.Rel.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.Rel<SIUnit> |
FloatScalar.divide(FloatScalar.Rel<?> left,
FloatScalar.Rel<?> right)
Divide two values; the result is a new instance with a different (existing or generated) SI unit.
|
FloatScalar.Rel<U> |
FloatScalar.Rel.divideBy(float constant)
Scale the value(s) by the inverse of a factor; i.e.
|
FloatScalar.Rel<U> |
FloatScalar.Rel.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.Rel<U> zero,
FloatScalar.Rel<U> one,
float ratio)
Interpolate between or extrapolate over two values.
|
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.
|
FloatScalar.Rel<U> |
FloatScalar.Rel.minus(FloatScalar.Rel<U> decrement)
Decrement the value by the supplied value and return the result.
|
static <U extends Unit<U>> |
FloatScalar.minus(FloatScalar.Rel<U> left,
FloatScalar.Rel<U> right)
Subtract a relative value from a relative value.
|
static FloatScalar.Rel<SIUnit> |
FloatScalar.multiply(FloatScalar.Rel<?> left,
FloatScalar.Rel<?> right)
Multiply two values; the result is a new instance with a different (existing or generated) SI unit.
|
FloatScalar.Rel<U> |
FloatScalar.Rel.multiplyBy(float constant)
Scale the value(s) by a factor.
|
FloatScalar.Rel<U> |
FloatScalar.Rel.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.Rel<U> right)
Add a Relative value to a Relative value.
|
FloatScalar.Rel<U> |
FloatScalar.Rel.rint()
Set the value(s) to the value(s) that are closest in value to the argument and equal to a mathematical integer.
|
FloatScalar.Rel<U> |
FloatScalar.Rel.round()
Set the value(s) to the closest long to the argument with ties rounding up.
|
| Modifier and Type | Method and Description |
|---|---|
int |
FloatScalar.Rel.compareTo(FloatScalar.Rel<U> o) |
static FloatScalar.Rel<SIUnit> |
FloatScalar.divide(FloatScalar.Rel<?> left,
FloatScalar.Rel<?> right)
Divide two values; the result is a new instance with a different (existing or generated) SI unit.
|
static FloatScalar.Rel<SIUnit> |
FloatScalar.divide(FloatScalar.Rel<?> left,
FloatScalar.Rel<?> right)
Divide two values; the result is a new instance with a different (existing or generated) SI unit.
|
boolean |
FloatScalar.Rel.eq(FloatScalar.Rel<U> o)
Test if this FloatScalar.Rel<U> is equal to a FloatScalar.Rel<U>.
|
boolean |
FloatScalar.Rel.ge(FloatScalar.Rel<U> o)
Test if this FloatScalar.Rel<U> is greater than a FloatScalar.Rel<U>.
|
boolean |
FloatScalar.Rel.gt(FloatScalar.Rel<U> o)
Test if this FloatScalar.Rel<U> is greater than or equal to a FloatScalar.Rel<U>.
|
static <U extends Unit<U>> |
FloatScalar.interpolate(FloatScalar.Rel<U> zero,
FloatScalar.Rel<U> one,
float ratio)
Interpolate between or extrapolate over two values.
|
static <U extends Unit<U>> |
FloatScalar.interpolate(FloatScalar.Rel<U> zero,
FloatScalar.Rel<U> one,
float ratio)
Interpolate between or extrapolate over two values.
|
boolean |
FloatScalar.Rel.le(FloatScalar.Rel<U> o)
Test if this FloatScalar.Rel<U> is less than or equal to a FloatScalar.Rel<U>.
|
boolean |
FloatScalar.Rel.lt(FloatScalar.Rel<U> o)
Test if this FloatScalar.Rel<U> is less than a FloatScalar.Rel<U>.
|
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.
|
FloatScalar.Rel<U> |
FloatScalar.Rel.minus(FloatScalar.Rel<U> decrement)
Decrement the value by the supplied value and return the result.
|
static <U extends Unit<U>> |
FloatScalar.minus(FloatScalar.Rel<U> left,
FloatScalar.Rel<U> right)
Subtract a relative value from a relative value.
|
static <U extends Unit<U>> |
FloatScalar.minus(FloatScalar.Rel<U> left,
FloatScalar.Rel<U> right)
Subtract a relative value from a relative value.
|
static FloatScalar.Rel<SIUnit> |
FloatScalar.multiply(FloatScalar.Rel<?> left,
FloatScalar.Rel<?> right)
Multiply two values; the result is a new instance with a different (existing or generated) SI unit.
|
static FloatScalar.Rel<SIUnit> |
FloatScalar.multiply(FloatScalar.Rel<?> left,
FloatScalar.Rel<?> right)
Multiply two values; the result is a new instance with a different (existing or generated) SI unit.
|
boolean |
FloatScalar.Rel.ne(FloatScalar.Rel<U> o)
Test if this FloatScalar.Rel<U> is not equal to a FloatScalar.Rel<U>.
|
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.
|
FloatScalar.Rel<U> |
FloatScalar.Rel.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.
|
static <U extends Unit<U>> |
FloatScalar.plus(FloatScalar.Rel<U> left,
FloatScalar.Rel<U> right)
Add a Relative value to a Relative value.
|
static <U extends Unit<U>> |
FloatScalar.plus(FloatScalar.Rel<U> left,
FloatScalar.Rel<U> right)
Add a Relative value to a Relative value.
|
| Constructor and Description |
|---|
Rel(FloatScalar.Rel<U> value)
Construct a new Relative Immutable FloatScalar from an existing Relative Immutable FloatScalar.
|
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
MutableTypedFloatVectorDimensionless<U extends Unit<U>,R extends TypedFloatVectorRel<U,R,MR,S>,MR extends MutableTypedFloatVectorDimensionless<U,R,MR,S>,S extends FloatScalar.Rel<U>>
Relative Mutable typed Vector.
|
(package private) class |
MutableTypedFloatVectorRel<U extends Unit<U>,R extends TypedFloatVectorRel<U,R,MR,S>,MR extends MutableTypedFloatVectorRel<U,R,MR,S>,S extends FloatScalar.Rel<U>>
Relative Mutable typed Vector.
|
(package private) class |
TypedFloatVectorRel<U extends Unit<U>,R extends TypedFloatVectorRel<U,R,MR,S>,MR extends MutableTypedFloatVectorRel<U,R,MR,S>,S extends FloatScalar.Rel<U>>
Relative Immutable typed vector.
|
| Modifier and Type | Method and Description |
|---|---|
FloatScalar.Rel<U> |
MutableFloatVector.Rel.get(int index)
Retrieve the value stored at a specified index as a FloatScalar.
|
FloatScalar.Rel<U> |
FloatVector.Rel.get(int index)
Retrieve the value stored at a specified index as a FloatScalar.
|
| Modifier and Type | Method and Description |
|---|---|
MutableFloatVector.Abs<U> |
MutableFloatVector.Abs.decrementBy(FloatScalar.Rel<U> decrement)
Decrement the value by the supplied value and return the changed vector.
|
MutableFloatVector.Rel<U> |
MutableFloatVector.Rel.decrementBy(FloatScalar.Rel<U> decrement)
Decrement the value by the supplied value and return the changed vector.
|
MutableFloatVector.Abs<U> |
MutableFloatVector.Abs.divideBy(FloatScalar.Rel<U> factor)
Divide the values in the vector by the supplied value and return the changed vector.
|
MutableFloatVector.Rel<U> |
MutableFloatVector.Rel.divideBy(FloatScalar.Rel<U> factor)
Divide the values in the vector by the supplied value and return the changed vector.
|
MutableFloatVector.Abs<U> |
MutableFloatVector.Abs.incrementBy(FloatScalar.Rel<U> increment)
Increment the value by the supplied value and return the changed vector.
|
MutableFloatVector.Rel<U> |
MutableFloatVector.Rel.incrementBy(FloatScalar.Rel<U> increment)
Increment the value by the supplied value and return the changed vector.
|
MutableFloatVector.Abs<U> |
MutableFloatVector.Abs.multiplyBy(FloatScalar.Rel<U> factor)
Multiply the values in the vector by the supplied value and return the changed vector.
|
MutableFloatVector.Rel<U> |
MutableFloatVector.Rel.multiplyBy(FloatScalar.Rel<U> factor)
Multiply the values in the vector by the supplied value and return the changed vector.
|
| Constructor and Description |
|---|
MutableTypedFloatVectorDimensionless(S[] values,
StorageType storageType)
Construct a new Relative Mutable FloatVector.
|
MutableTypedFloatVectorRel(S[] values,
StorageType storageType)
Construct a new Relative Mutable FloatVector.
|
Rel(FloatScalar.Rel<U>[] values,
StorageType storageType)
Construct a new Relative Mutable FloatVector.
|
Rel(FloatScalar.Rel<U>[] values,
StorageType storageType)
Construct a new Relative Immutable FloatVector.
|
TypedFloatVectorRel(S[] values,
StorageType storageType)
Construct a new Relative Immutable FloatVector.
|
Copyright © 2015–2016 Delft University of Technology. All rights reserved.