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