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 FloatDensity |
MutableFloatDensityMatrix.instantiateScalar(float value,
DensityUnit unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
protected FloatDensity |
FloatDensityMatrix.instantiateScalar(float value,
DensityUnit unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
Constructor and Description |
---|
FloatDensityMatrix(FloatDensity[][] values,
StorageType storageType)
Construct a new Relative Immutable FloatDensityMatrix.
|
MutableFloatDensityMatrix(FloatDensity[][] values,
StorageType storageType)
Construct a new Relative Immutable FloatDensityMatrix.
|
Modifier and Type | Field and Description |
---|---|
static FloatDensity |
FloatDensity.NaN
constant with value NaN.
|
static FloatDensity |
FloatDensity.NEG_MAXVALUE
constant with value -MAX_VALUE.
|
static FloatDensity |
FloatDensity.NEGATIVE_INFINITY
constant with value NEGATIVE_INFINITY.
|
static FloatDensity |
FloatDensity.POS_MAXVALUE
constant with value MAX_VALUE.
|
static FloatDensity |
FloatDensity.POSITIVE_INFINITY
constant with value POSITIVE_INFINITY.
|
static FloatDensity |
FloatDensity.ZERO
constant with value zero.
|
Modifier and Type | Method and Description |
---|---|
static FloatDensity |
FloatDensity.createSI(float value)
Construct FloatDensity scalar.
|
FloatDensity |
FloatMass.divideBy(FloatVolume v)
Calculate the division of FloatMass and FloatVolume, which results in a FloatDensity scalar.
|
FloatDensity |
FloatDensity.instantiateRel(float value,
DensityUnit unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
static FloatDensity |
FloatDensity.interpolate(FloatDensity zero,
FloatDensity one,
float ratio)
Interpolate between two values.
|
static FloatDensity |
FloatDensity.max(FloatDensity r1,
FloatDensity r2)
Return the maximum value of two relative scalars.
|
static FloatDensity |
FloatDensity.max(FloatDensity r1,
FloatDensity r2,
FloatDensity... rn)
Return the maximum value of more than two relative scalars.
|
static FloatDensity |
FloatDensity.min(FloatDensity r1,
FloatDensity r2)
Return the minimum value of two relative scalars.
|
static FloatDensity |
FloatDensity.min(FloatDensity r1,
FloatDensity r2,
FloatDensity... rn)
Return the minimum value of more than two relative scalars.
|
FloatDensity |
FloatDimensionless.multiplyBy(FloatDensity v)
Calculate the multiplication of FloatDimensionless and FloatDensity, which results in a FloatDensity scalar.
|
Modifier and Type | Method and Description |
---|---|
FloatVolume |
FloatMass.divideBy(FloatDensity v)
Calculate the division of FloatMass and FloatDensity, which results in a FloatVolume scalar.
|
FloatDimensionless |
FloatDensity.divideBy(FloatDensity v)
Calculate the division of FloatDensity and FloatDensity, which results in a FloatDimensionless scalar.
|
static FloatDensity |
FloatDensity.interpolate(FloatDensity zero,
FloatDensity one,
float ratio)
Interpolate between two values.
|
static FloatDensity |
FloatDensity.max(FloatDensity r1,
FloatDensity r2)
Return the maximum value of two relative scalars.
|
static FloatDensity |
FloatDensity.max(FloatDensity r1,
FloatDensity r2,
FloatDensity... rn)
Return the maximum value of more than two relative scalars.
|
static FloatDensity |
FloatDensity.max(FloatDensity r1,
FloatDensity r2,
FloatDensity... rn)
Return the maximum value of more than two relative scalars.
|
static FloatDensity |
FloatDensity.min(FloatDensity r1,
FloatDensity r2)
Return the minimum value of two relative scalars.
|
static FloatDensity |
FloatDensity.min(FloatDensity r1,
FloatDensity r2,
FloatDensity... rn)
Return the minimum value of more than two relative scalars.
|
static FloatDensity |
FloatDensity.min(FloatDensity r1,
FloatDensity r2,
FloatDensity... rn)
Return the minimum value of more than two relative scalars.
|
FloatMass |
FloatVolume.multiplyBy(FloatDensity v)
Calculate the multiplication of FloatVolume and FloatDensity, which results in a FloatMass scalar.
|
FloatDensity |
FloatDimensionless.multiplyBy(FloatDensity v)
Calculate the multiplication of FloatDimensionless and FloatDensity, which results in a FloatDensity scalar.
|
Constructor and Description |
---|
FloatDensity(FloatDensity value)
Construct FloatDensity scalar.
|
Modifier and Type | Method and Description |
---|---|
protected FloatDensity |
MutableFloatDensityVector.instantiateScalar(float value,
DensityUnit unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
protected FloatDensity |
FloatDensityVector.instantiateScalar(float value,
DensityUnit unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
FloatDensity[] |
MutableFloatDensityVector.toArray()
Return an array of FloatDensity Scalars from this vector.
|
FloatDensity[] |
FloatDensityVector.toArray()
Return an array of FloatDensity Scalars from this vector.
|
Constructor and Description |
---|
FloatDensityVector(FloatDensity[] values,
StorageType storageType)
Construct a new Relative Immutable Float FloatDensityVector.
|
MutableFloatDensityVector(FloatDensity[] values,
StorageType storageType)
Construct a new Relative Immutable Float DensityVector.
|
Constructor and Description |
---|
FloatDensityVector(List<FloatDensity> values,
StorageType storageType)
Construct a new Relative Immutable Float FloatDensityVector.
|
FloatDensityVector(SortedMap<Integer,FloatDensity> values,
int length,
StorageType storageType)
Construct a new Relative Immutable Float FloatDensityVector.
|
MutableFloatDensityVector(List<FloatDensity> values,
StorageType storageType)
Construct a new Relative Immutable Float DensityVector.
|
MutableFloatDensityVector(SortedMap<Integer,FloatDensity> values,
int length,
StorageType storageType)
Construct a new Relative Immutable Float DensityVector.
|
Copyright © 2015–2019 Delft University of Technology. All rights reserved.