Uses of Class
org.djunits.value.vdouble.scalar.Duration
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.Note: All code in this package is generated.
|
org.djunits.value.vdouble.vector |
Double Vector storage and calculations with units, absolute/relative, sparse/dense.
|
-
Uses of Duration in org.djunits.value.vdouble.matrix
Methods in org.djunits.value.vdouble.matrix that return Duration Modifier and Type Method Description Duration
TimeMatrix. instantiateScalarRelSI(double valueSI, DurationUnit displayUnit)
Instantiate a new relative scalar for the class of this absolute matrix.Duration
DurationMatrix. instantiateScalarSI(double valueSI, DurationUnit displayUnit)
Instantiate a new scalar for the class of this matrix.Methods in org.djunits.value.vdouble.matrix that return types with arguments of type Duration Modifier and Type Method Description Class<Duration>
DurationMatrix. getScalarClass()
Return the class of the corresponding scalar. -
Uses of Duration in org.djunits.value.vdouble.scalar
Fields in org.djunits.value.vdouble.scalar declared as Duration Modifier and Type Field 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. ONE
Constant with value one.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.Methods in org.djunits.value.vdouble.scalar that return Duration Modifier and Type Method Description Duration
SIScalar. asDuration()
Return the current scalar as a duration.Duration
SIScalar. asDuration(DurationUnit displayUnit)
Return the current scalar as a duration, and provide a display unit.Duration
AmountOfSubstance. divide(CatalyticActivity v)
Calculate the division of AmountOfSubstance and CatalyticActivity, which results in a Duration scalar.Duration
Angle. divide(AngularVelocity v)
Calculate the division of Angle and AngularVelocity, which results in a Duration scalar.Duration
AngularVelocity. divide(AngularAcceleration v)
Calculate the division of AngularVelocity and AngularAcceleration, which results in a Duration scalar.Duration
Dimensionless. divide(Frequency v)
Calculate the division of Dimensionless and Frequency, which results in a Duration scalar.Duration
ElectricalCapacitance. divide(ElectricalConductance v)
Calculate the division of ElectricalCapacitance and ElectricalConductance, which results in a Duration scalar.Duration
ElectricalCharge. divide(ElectricalCurrent v)
Calculate the division of ElectricalCharge and ElectricalCurrent, which results in a Duration scalar.Duration
Energy. divide(Power v)
Calculate the division of Energy and Power, which results in a Duration scalar.Duration
Length. divide(Speed v)
Calculate the division of Length and Speed, which results in a Duration scalar.Duration
MagneticFlux. divide(ElectricalPotential v)
Calculate the division of MagneticFlux and ElectricalPotential, which results in a Duration scalar.Duration
Mass. divide(FlowMass v)
Calculate the division of Mass and FlowMass, which results in a Duration scalar.Duration
Speed. divide(Acceleration v)
Calculate the division of Speed and Acceleration, which results in a Duration scalar.Duration
Torque. divide(Power v)
Calculate the division of Torque and Power, which results in a Duration scalar.Duration
Volume. divide(FlowVolume v)
Calculate the division of Volume and FlowVolume, which results in a Duration scalar.Duration
Duration. instantiateRel(double value, DurationUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.Duration
Time. instantiateRel(double value, DurationUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.static Duration
Duration. instantiateSI(double value)
Construct Duration 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. 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. of(double value, String unitString)
Returns a Duration based on a value and the textual representation of the unit.Duration
Dimensionless. times(Duration v)
Calculate the multiplication of Dimensionless and Duration, which results in a Duration scalar.static Duration
Duration. valueOf(String text)
Returns a Duration representation of a textual representation of a value with a unit.Methods in org.djunits.value.vdouble.scalar with parameters of type Duration Modifier and Type Method Description CatalyticActivity
AmountOfSubstance. divide(Duration v)
Calculate the division of AmountOfSubstance and Duration, which results in a CatalyticActivity scalar.AngularVelocity
Angle. divide(Duration v)
Calculate the division of Angle and Duration, which results in a AngularVelocity scalar.AngularAcceleration
AngularVelocity. divide(Duration v)
Calculate the division of AngularVelocity and Duration, which results in a AngularAcceleration scalar.Frequency
Dimensionless. divide(Duration v)
Calculate the division of Dimensionless and Duration, which results in a Frequency scalar.Dimensionless
Duration. divide(Duration v)
Calculate the division of Duration and Duration, which results in a Dimensionless scalar.ElectricalConductance
ElectricalCapacitance. divide(Duration v)
Calculate the division of ElectricalCapacitance and Duration, which results in a ElectricalConductance scalar.ElectricalCurrent
ElectricalCharge. divide(Duration v)
Calculate the division of ElectricalCharge and Duration, which results in a ElectricalCurrent scalar.Power
Energy. divide(Duration v)
Calculate the division of Energy and Duration, which results in a Power scalar.Speed
Length. divide(Duration v)
Calculate the division of Length and Duration, which results in a Speed scalar.ElectricalPotential
MagneticFlux. divide(Duration v)
Calculate the division of MagneticFlux and Duration, which results in a ElectricalPotential scalar.FlowMass
Mass. divide(Duration v)
Calculate the division of Mass and Duration, which results in a FlowMass scalar.Acceleration
Speed. divide(Duration v)
Calculate the division of Speed and Duration, which results in a Acceleration scalar.Power
Torque. divide(Duration v)
Calculate the division of Torque and Duration, which results in a Power scalar.FlowVolume
Volume. divide(Duration v)
Calculate the division of Volume and Duration, which results in a FlowVolume 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. 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.Speed
Acceleration. times(Duration v)
Calculate the multiplication of Acceleration and Duration, which results in a Speed scalar.AngularVelocity
AngularAcceleration. times(Duration v)
Calculate the multiplication of AngularAcceleration and Duration, which results in a AngularVelocity scalar.Angle
AngularVelocity. times(Duration v)
Calculate the multiplication of AngularVelocity and Duration, which results in a Angle scalar.AmountOfSubstance
CatalyticActivity. times(Duration v)
Calculate the multiplication of CatalyticActivity and Duration, which results in a AmountOfSubstance scalar.Duration
Dimensionless. times(Duration v)
Calculate the multiplication of Dimensionless and Duration, which results in a Duration scalar.ElectricalCapacitance
ElectricalConductance. times(Duration v)
Calculate the multiplication of ElectricalConductance and Duration, which results in a ElectricalCapacitance scalar.ElectricalCharge
ElectricalCurrent. times(Duration v)
Calculate the multiplication of ElectricalCurrent and Duration, which results in a ElectricalCharge scalar.MagneticFlux
ElectricalPotential. times(Duration v)
Calculate the multiplication of ElectricalPotential and Duration, which results in a MagneticFlux scalar.ElectricalInductance
ElectricalResistance. times(Duration v)
Calculate the multiplication of ElectricalResistance and Duration, which results in a ElectricalInductance scalar.Mass
FlowMass. times(Duration v)
Calculate the multiplication of FlowMass and Duration, which results in a Mass scalar.Volume
FlowVolume. times(Duration v)
Calculate the multiplication of FlowVolume and Duration, which results in a Volume scalar.Dimensionless
Frequency. times(Duration v)
Calculate the multiplication of Frequency and Duration, which results in a Dimensionless scalar.Energy
Power. times(Duration v)
Calculate the multiplication of Power and Duration, which results in a Energy scalar.Length
Speed. times(Duration v)
Calculate the multiplication of Speed and Duration, which results in a Length scalar.Constructors in org.djunits.value.vdouble.scalar with parameters of type Duration Constructor Description Duration(Duration value)
Construct Duration scalar. -
Uses of Duration in org.djunits.value.vdouble.vector
Methods in org.djunits.value.vdouble.vector that return Duration Modifier and Type Method Description Duration
TimeVector. instantiateScalarRelSI(double valueSI, DurationUnit displayUnit)
Instantiate a new relative scalar for the class of this absolute vector.Duration
DurationVector. instantiateScalarSI(double valueSI, DurationUnit displayUnit)
Instantiate a new scalar for the class of this vector.Methods in org.djunits.value.vdouble.vector that return types with arguments of type Duration Modifier and Type Method Description Class<Duration>
DurationVector. getScalarClass()
Return the class of the corresponding scalar.