Package | Description |
---|---|
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 |
---|---|
protected FloatLength |
MutableFloatLengthMatrix.instantiateScalar(float value,
LengthUnit unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
protected FloatLength |
FloatLengthMatrix.instantiateScalar(float value,
LengthUnit unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
Constructor and Description |
---|
FloatLengthMatrix(FloatLength[][] values,
StorageType storageType)
Construct a new Relative Immutable FloatLengthMatrix.
|
MutableFloatLengthMatrix(FloatLength[][] values,
StorageType storageType)
Construct a new Relative Mutable FloatLengthMatrix.
|
Modifier and Type | Field and Description |
---|---|
static FloatLength |
FloatLength.NaN
constant with value NaN.
|
static FloatLength |
FloatLength.NEG_MAXVALUE
constant with value -MAX_VALUE.
|
static FloatLength |
FloatLength.NEGATIVE_INFINITY
constant with value NEGATIVE_INFINITY.
|
static FloatLength |
FloatLength.POS_MAXVALUE
constant with value MAX_VALUE.
|
static FloatLength |
FloatLength.POSITIVE_INFINITY
constant with value POSITIVE_INFINITY.
|
static FloatLength |
FloatLength.ZERO
constant with value zero.
|
Modifier and Type | Method and Description |
---|---|
static FloatLength |
FloatLength.createSI(float value)
Construct FloatLength scalar.
|
FloatLength |
FloatVolume.divideBy(FloatArea v)
Calculate the division of FloatVolume and FloatArea, which results in a FloatLength scalar.
|
FloatLength |
FloatTorque.divideBy(FloatForce v)
Calculate the division of FloatTorque and FloatForce, which results in a FloatLength scalar.
|
FloatLength |
FloatEnergy.divideBy(FloatForce v)
Calculate the division of FloatEnergy and FloatForce, which results in a FloatLength scalar.
|
FloatLength |
FloatSpeed.divideBy(FloatFrequency v)
Calculate the division of FloatSpeed and FloatFrequency, which results in a FloatLength scalar.
|
FloatLength |
FloatArea.divideBy(FloatLength v)
Calculate the division of FloatArea and FloatLength, which results in a FloatLength scalar.
|
FloatLength |
FloatDimensionless.divideBy(FloatLinearDensity v)
Calculate the division of FloatDimensionless and FloatLinearDensity, which results in a FloatLength scalar.
|
FloatLength |
FloatPosition.instantiateRel(float value,
LengthUnit unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
FloatLength |
FloatLength.instantiateRel(float value,
LengthUnit unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
static FloatLength |
FloatLength.interpolate(FloatLength zero,
FloatLength one,
float ratio)
Interpolate between two values.
|
static FloatLength |
FloatLength.max(FloatLength r1,
FloatLength r2)
Return the maximum value of two relative scalars.
|
static FloatLength |
FloatLength.max(FloatLength r1,
FloatLength r2,
FloatLength... rn)
Return the maximum value of more than two relative scalars.
|
static FloatLength |
FloatLength.min(FloatLength r1,
FloatLength r2)
Return the minimum value of two relative scalars.
|
static FloatLength |
FloatLength.min(FloatLength r1,
FloatLength r2,
FloatLength... rn)
Return the minimum value of more than two relative scalars.
|
FloatLength |
FloatLinearDensity.multiplyBy(FloatArea v)
Calculate the multiplication of FloatLinearDensity and FloatArea, which results in a FloatLength scalar.
|
FloatLength |
FloatSpeed.multiplyBy(FloatDuration v)
Calculate the multiplication of FloatSpeed and FloatDuration, which results in a FloatLength scalar.
|
FloatLength |
FloatDimensionless.multiplyBy(FloatLength v)
Calculate the multiplication of FloatDimensionless and FloatLength, which results in a FloatLength scalar.
|
FloatLength |
FloatArea.multiplyBy(FloatLinearDensity v)
Calculate the multiplication of FloatArea and FloatLinearDensity, which results in a FloatLength scalar.
|
FloatLength |
FloatDuration.multiplyBy(FloatSpeed v)
Calculate the multiplication of FloatDuration and FloatSpeed, which results in a FloatLength scalar.
|
static FloatLength |
FloatLength.valueOf(String text)
Returns a FloatLength representation of a textual representation of a value with a unit.
|
Modifier and Type | Method and Description |
---|---|
FloatArea |
FloatVolume.divideBy(FloatLength v)
Calculate the division of FloatVolume and FloatLength, which results in a FloatArea scalar.
|
FloatForce |
FloatTorque.divideBy(FloatLength v)
Calculate the division of FloatTorque and FloatLength, which results in a FloatForce scalar.
|
FloatFrequency |
FloatSpeed.divideBy(FloatLength v)
Calculate the division of FloatSpeed and FloatLength, which results in a FloatFrequency scalar.
|
FloatMoneyPerLength |
FloatMoney.divideBy(FloatLength v)
Calculate the division of FloatMoney and FloatLength, which results in a FloatMoneyPerLength scalar.
|
FloatDimensionless |
FloatLength.divideBy(FloatLength v)
Calculate the division of FloatLength and FloatLength, which results in a FloatDimensionless scalar.
|
FloatForce |
FloatEnergy.divideBy(FloatLength v)
Calculate the division of FloatEnergy and FloatLength, which results in a FloatForce scalar.
|
FloatLinearDensity |
FloatDimensionless.divideBy(FloatLength v)
Calculate the division of FloatDimensionless and FloatLength, which results in a FloatLinearDensity scalar.
|
FloatLength |
FloatArea.divideBy(FloatLength v)
Calculate the division of FloatArea and FloatLength, which results in a FloatLength scalar.
|
static FloatLength |
FloatLength.interpolate(FloatLength zero,
FloatLength one,
float ratio)
Interpolate between two values.
|
static FloatLength |
FloatLength.max(FloatLength r1,
FloatLength r2)
Return the maximum value of two relative scalars.
|
static FloatLength |
FloatLength.max(FloatLength r1,
FloatLength r2,
FloatLength... rn)
Return the maximum value of more than two relative scalars.
|
static FloatLength |
FloatLength.max(FloatLength r1,
FloatLength r2,
FloatLength... rn)
Return the maximum value of more than two relative scalars.
|
static FloatLength |
FloatLength.min(FloatLength r1,
FloatLength r2)
Return the minimum value of two relative scalars.
|
static FloatLength |
FloatLength.min(FloatLength r1,
FloatLength r2,
FloatLength... rn)
Return the minimum value of more than two relative scalars.
|
static FloatLength |
FloatLength.min(FloatLength r1,
FloatLength r2,
FloatLength... rn)
Return the minimum value of more than two relative scalars.
|
FloatMoney |
FloatMoneyPerLength.multiplyBy(FloatLength v)
Calculate the multiplication of FloatMoneyPerLength and FloatLength, which results in a FloatMoney scalar.
|
FloatArea |
FloatLength.multiplyBy(FloatLength v)
Calculate the multiplication of FloatLength and FloatLength, which results in a FloatArea scalar.
|
FloatSpeed |
FloatFrequency.multiplyBy(FloatLength v)
Calculate the multiplication of FloatFrequency and FloatLength, which results in a FloatSpeed scalar.
|
FloatEnergy |
FloatForce.multiplyBy(FloatLength v)
Calculate the multiplication of FloatForce and FloatLength, which results in a FloatEnergy scalar.
|
FloatLength |
FloatDimensionless.multiplyBy(FloatLength v)
Calculate the multiplication of FloatDimensionless and FloatLength, which results in a FloatLength scalar.
|
FloatVolume |
FloatArea.multiplyBy(FloatLength v)
Calculate the multiplication of FloatArea and FloatLength, which results in a FloatVolume scalar.
|
Constructor and Description |
---|
FloatLength(FloatLength value)
Construct FloatLength scalar.
|
Modifier and Type | Method and Description |
---|---|
protected FloatLength |
MutableFloatLengthVector.instantiateScalar(float value,
LengthUnit unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
protected FloatLength |
FloatLengthVector.instantiateScalar(float value,
LengthUnit unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
FloatLength[] |
MutableFloatLengthVector.toArray()
Return an array of FloatLength Scalars from this vector.
|
FloatLength[] |
FloatLengthVector.toArray()
Return an array of FloatLength Scalars from this vector.
|
Constructor and Description |
---|
FloatLengthVector(FloatLength[] values,
StorageType storageType)
Construct a new Relative Immutable FloatLengthVector.
|
MutableFloatLengthVector(FloatLength[] values,
StorageType storageType)
Construct a new Relative Mutable FloatLengthVector.
|
Constructor and Description |
---|
FloatLengthVector(List<FloatLength> values,
StorageType storageType)
Construct a new Relative Immutable FloatLengthVector.
|
FloatLengthVector(SortedMap<Integer,FloatLength> values,
int length,
StorageType storageType)
Construct a new Relative Immutable FloatLengthVector.
|
MutableFloatLengthVector(List<FloatLength> values,
StorageType storageType)
Construct a new Relative Mutable FloatLengthVector.
|
MutableFloatLengthVector(SortedMap<Integer,FloatLength> values,
int length,
StorageType storageType)
Construct a new Relative Mutable FloatLengthVector.
|
Copyright © 2015–2019 Delft University of Technology. All rights reserved.