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