Package | Description |
---|---|
org.djunits.value.vdouble.matrix |
Double Matrix storage and calculations with units, absolute/relative, sparse/dense.
|
org.djunits.value.vdouble.scalar |
Double Scalar storage and calculations with units, absolute/relative.
|
org.djunits.value.vdouble.vector |
Double Vector storage and calculations with units, absolute/relative, sparse/dense.
|
Modifier and Type | Method and Description |
---|---|
protected Duration |
MutableDurationMatrix.instantiateScalar(double value,
DurationUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
protected Duration |
DurationMatrix.instantiateScalar(double value,
DurationUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
Constructor and Description |
---|
DurationMatrix(Duration[][] values,
StorageType storageType)
Construct a new Relative Immutable Double DurationMatrix.
|
MutableDurationMatrix(Duration[][] values,
StorageType storageType)
Construct a new Relative Mutable Double DurationMatrix.
|
Modifier and Type | Field and Description |
---|---|
static Duration |
Duration.NaN
constant with value NaN.
|
static Duration |
Duration.NEG_MAXVALUE
constant with value -MAX_VALUE.
|
static Duration |
Duration.NEGATIVE_INFINITY
constant with value NEGATIVE_INFINITY.
|
static Duration |
Duration.POS_MAXVALUE
constant with value MAX_VALUE.
|
static Duration |
Duration.POSITIVE_INFINITY
constant with value POSITIVE_INFINITY.
|
static Duration |
Duration.ZERO
constant with value zero.
|
Modifier and Type | Method and Description |
---|---|
static Duration |
Duration.createSI(double value)
Construct Duration scalar.
|
Duration |
Speed.divideBy(Acceleration v)
Calculate the division of Speed and Acceleration, which results in a Duration scalar.
|
Duration |
ElectricalCharge.divideBy(ElectricalCurrent v)
Calculate the division of ElectricalCharge and ElectricalCurrent, which results in a Duration scalar.
|
Duration |
Mass.divideBy(FlowMass v)
Calculate the division of Mass and FlowMass, which results in a Duration scalar.
|
Duration |
Volume.divideBy(FlowVolume v)
Calculate the division of Volume and FlowVolume, which results in a Duration scalar.
|
Duration |
Dimensionless.divideBy(Frequency v)
Calculate the division of Dimensionless and Frequency, which results in a Duration scalar.
|
Duration |
Torque.divideBy(Power v)
Calculate the division of Torque and Power, which results in a Duration scalar.
|
Duration |
Energy.divideBy(Power v)
Calculate the division of Energy and Power, which results in a Duration scalar.
|
Duration |
Length.divideBy(Speed v)
Calculate the division of Length and Speed, which results in a Duration scalar.
|
Duration |
Time.instantiateRel(double value,
DurationUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
Duration |
Duration.instantiateRel(double value,
DurationUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
static Duration |
Duration.interpolate(Duration zero,
Duration one,
double ratio)
Interpolate between two values.
|
static Duration |
Duration.max(Duration r1,
Duration r2)
Return the maximum value of two relative scalars.
|
static Duration |
Duration.max(Duration r1,
Duration r2,
Duration... rn)
Return the maximum value of more than two relative scalars.
|
static Duration |
Duration.min(Duration r1,
Duration r2)
Return the minimum value of two relative scalars.
|
static Duration |
Duration.min(Duration r1,
Duration r2,
Duration... rn)
Return the minimum value of more than two relative scalars.
|
Duration |
Dimensionless.multiplyBy(Duration v)
Calculate the multiplication of Dimensionless and Duration, which results in a Duration scalar.
|
Modifier and Type | Method and Description |
---|---|
FlowVolume |
Volume.divideBy(Duration v)
Calculate the division of Volume and Duration, which results in a FlowVolume scalar.
|
Power |
Torque.divideBy(Duration v)
Calculate the division of Torque and Duration, which results in a Power scalar.
|
Acceleration |
Speed.divideBy(Duration v)
Calculate the division of Speed and Duration, which results in a Acceleration scalar.
|
MoneyPerDuration |
Money.divideBy(Duration v)
Calculate the division of Money and Duration, which results in a MoneyPerDuration scalar.
|
FlowMass |
Mass.divideBy(Duration v)
Calculate the division of Mass and Duration, which results in a FlowMass scalar.
|
Speed |
Length.divideBy(Duration v)
Calculate the division of Length and Duration, which results in a Speed scalar.
|
Power |
Energy.divideBy(Duration v)
Calculate the division of Energy and Duration, which results in a Power scalar.
|
ElectricalCurrent |
ElectricalCharge.divideBy(Duration v)
Calculate the division of ElectricalCharge and Duration, which results in a ElectricalCurrent scalar.
|
Dimensionless |
Duration.divideBy(Duration v)
Calculate the division of Duration and Duration, which results in a Dimensionless scalar.
|
Frequency |
Dimensionless.divideBy(Duration v)
Calculate the division of Dimensionless and Duration, which results in a Frequency scalar.
|
static Duration |
Duration.interpolate(Duration zero,
Duration one,
double ratio)
Interpolate between two values.
|
static Duration |
Duration.max(Duration r1,
Duration r2)
Return the maximum value of two relative scalars.
|
static Duration |
Duration.max(Duration r1,
Duration r2,
Duration... rn)
Return the maximum value of more than two relative scalars.
|
static Duration |
Duration.max(Duration r1,
Duration r2,
Duration... rn)
Return the maximum value of more than two relative scalars.
|
static Duration |
Duration.min(Duration r1,
Duration r2)
Return the minimum value of two relative scalars.
|
static Duration |
Duration.min(Duration r1,
Duration r2,
Duration... rn)
Return the minimum value of more than two relative scalars.
|
static Duration |
Duration.min(Duration r1,
Duration r2,
Duration... rn)
Return the minimum value of more than two relative scalars.
|
Length |
Speed.multiplyBy(Duration v)
Calculate the multiplication of Speed and Duration, which results in a Length scalar.
|
Energy |
Power.multiplyBy(Duration v)
Calculate the multiplication of Power and Duration, which results in a Energy scalar.
|
Money |
MoneyPerDuration.multiplyBy(Duration v)
Calculate the multiplication of MoneyPerDuration and Duration, which results in a Money scalar.
|
Dimensionless |
Frequency.multiplyBy(Duration v)
Calculate the multiplication of Frequency and Duration, which results in a Dimensionless scalar.
|
Volume |
FlowVolume.multiplyBy(Duration v)
Calculate the multiplication of FlowVolume and Duration, which results in a Volume scalar.
|
Mass |
FlowMass.multiplyBy(Duration v)
Calculate the multiplication of FlowMass and Duration, which results in a Mass scalar.
|
ElectricalCharge |
ElectricalCurrent.multiplyBy(Duration v)
Calculate the multiplication of ElectricalCurrent and Duration, which results in a ElectricalCharge scalar.
|
Duration |
Dimensionless.multiplyBy(Duration v)
Calculate the multiplication of Dimensionless and Duration, which results in a Duration scalar.
|
Speed |
Acceleration.multiplyBy(Duration v)
Calculate the multiplication of Acceleration and Duration, which results in a Speed scalar.
|
Constructor and Description |
---|
Duration(Duration value)
Construct Duration scalar.
|
Modifier and Type | Method and Description |
---|---|
protected Duration |
MutableDurationVector.instantiateScalar(double value,
DurationUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
protected Duration |
DurationVector.instantiateScalar(double value,
DurationUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
Duration[] |
MutableDurationVector.toArray()
Return an array of Duration Scalars from this vector.
|
Duration[] |
DurationVector.toArray()
Return an array of Duration Scalars from this vector.
|
Constructor and Description |
---|
DurationVector(Duration[] values,
StorageType storageType)
Construct a new Relative Immutable Double DurationVector.
|
MutableDurationVector(Duration[] values,
StorageType storageType)
Construct a new Relative Mutable Double DurationVector.
|
Constructor and Description |
---|
DurationVector(List<Duration> values,
StorageType storageType)
Construct a new Relative Immutable Double DurationVector.
|
DurationVector(SortedMap<Integer,Duration> values,
int length,
StorageType storageType)
Construct a new Relative Immutable Double DurationVector.
|
MutableDurationVector(List<Duration> values,
StorageType storageType)
Construct a new Relative Mutable Double DurationVector.
|
MutableDurationVector(SortedMap<Integer,Duration> values,
int length,
StorageType storageType)
Construct a new Relative Mutable Double DurationVector.
|
Copyright © 2015–2018 Delft University of Technology. All rights reserved.