Uses of Class
org.djunits.value.vdouble.scalar.Duration
Package
Description
Double Matrix storage and calculations with units, absolute/relative, sparse/dense.
Double Scalar storage and calculations with units, absolute/relative.Note: All code in this package is generated.
Double Vector storage and calculations with units, absolute/relative, sparse/dense.
-
Uses of Duration in org.djunits.value.vdouble.matrix
Modifier and TypeMethodDescriptionTimeMatrix.instantiateScalarRelSI
(double valueSI, DurationUnit displayUnit) DurationMatrix.instantiateScalarSI
(double valueSI, DurationUnit displayUnit) ModifierConstructorDescriptionDurationMatrix
(Duration[][] data) Construct a DurationMatrix from an array of an array of Duration objects.DurationMatrix
(Duration[][] data, DurationUnit displayUnit) Construct a DurationMatrix from an array of an array of Duration objects.DurationMatrix
(Duration[][] data, DurationUnit displayUnit, StorageType storageType) Construct a DurationMatrix from an array of an array of Duration objects.DurationMatrix
(Duration[][] data, StorageType storageType) Construct a DurationMatrix from an array of an array of Duration objects.ModifierConstructorDescriptionDurationMatrix
(Collection<DoubleSparseValue<DurationUnit, Duration>> data, int rows, int cols) Construct a DurationMatrix from a (sparse) collection of DoubleSparseValue objects.DurationMatrix
(Collection<DoubleSparseValue<DurationUnit, Duration>> data, int rows, int cols, StorageType storageType) Construct a DurationMatrix from a (sparse) collection of DoubleSparseValue objects.DurationMatrix
(Collection<DoubleSparseValue<DurationUnit, Duration>> data, DurationUnit displayUnit, int rows, int cols) Construct a DurationMatrix from a (sparse) collection of DoubleSparseValue objects.DurationMatrix
(Collection<DoubleSparseValue<DurationUnit, Duration>> data, DurationUnit displayUnit, int rows, int cols, StorageType storageType) Construct a DurationMatrix from a (sparse) collection of DoubleSparseValue objects. -
Uses of Duration in org.djunits.value.vdouble.scalar
Modifier and TypeFieldDescriptionstatic final Duration
Duration.NaN
Constant with value NaN.static final Duration
Duration.NEG_MAXVALUE
Constant with value -MAX_VALUE.static final Duration
Duration.NEGATIVE_INFINITY
Constant with value NEGATIVE_INFINITY.static final Duration
Duration.ONE
Constant with value one.static final Duration
Duration.POS_MAXVALUE
Constant with value MAX_VALUE.static final Duration
Duration.POSITIVE_INFINITY
Constant with value POSITIVE_INFINITY.static final Duration
Duration.ZERO
Constant with value zero.Modifier and TypeMethodDescriptionfinal Duration
SIScalar.asDuration()
Return the current scalar as a duration.final Duration
SIScalar.asDuration
(DurationUnit displayUnit) Return the current scalar as a duration, and provide a display unit.final Duration
AmountOfSubstance.divide
(CatalyticActivity v) Calculate the division of AmountOfSubstance and CatalyticActivity, which results in a Duration scalar.final Duration
Angle.divide
(AngularVelocity v) Calculate the division of Angle and AngularVelocity, which results in a Duration scalar.final Duration
AngularVelocity.divide
(AngularAcceleration v) Calculate the division of AngularVelocity and AngularAcceleration, which results in a Duration scalar.final Duration
Calculate the division of Dimensionless and Frequency, which results in a Duration scalar.final Duration
ElectricalCapacitance.divide
(ElectricalConductance v) Calculate the division of ElectricalCapacitance and ElectricalConductance, which results in a Duration scalar.final Duration
ElectricalCharge.divide
(ElectricalCurrent v) Calculate the division of ElectricalCharge and ElectricalCurrent, which results in a Duration scalar.final Duration
Calculate the division of Energy and Power, which results in a Duration scalar.final Duration
Calculate the division of Length and Speed, which results in a Duration scalar.final Duration
MagneticFlux.divide
(ElectricalPotential v) Calculate the division of MagneticFlux and ElectricalPotential, which results in a Duration scalar.final Duration
Calculate the division of Mass and FlowMass, which results in a Duration scalar.final Duration
Speed.divide
(Acceleration v) Calculate the division of Speed and Acceleration, which results in a Duration scalar.final Duration
Calculate the division of Torque and Power, which results in a Duration scalar.final Duration
Volume.divide
(FlowVolume v) Calculate the division of Volume and FlowVolume, which results in a Duration scalar.final Duration
Duration.instantiateRel
(double value, DurationUnit unit) final Duration
Time.instantiateRel
(double value, DurationUnit unit) static final Duration
Duration.instantiateSI
(double value) Construct Duration scalar.static Duration
Duration.interpolate
(Duration zero, Duration one, double ratio) Interpolate between two values.static Duration
Return the maximum value of two relative scalars.static Duration
Return the maximum value of more than two relative scalars.static Duration
Return the minimum value of two relative scalars.static Duration
Return the minimum value of more than two relative scalars.static Duration
Returns a Duration based on a value and the textual representation of the unit, which can be localized.Frequency.reciprocal()
final Duration
Calculate the multiplication of Dimensionless and Duration, which results in a Duration scalar.static Duration
Returns a Duration representation of a textual representation of a value with a unit.Modifier and TypeMethodDescriptionfinal CatalyticActivity
Calculate the division of AmountOfSubstance and Duration, which results in a CatalyticActivity scalar.final AngularVelocity
Calculate the division of Angle and Duration, which results in a AngularVelocity scalar.final AngularAcceleration
Calculate the division of AngularVelocity and Duration, which results in a AngularAcceleration scalar.final Frequency
Calculate the division of Dimensionless and Duration, which results in a Frequency scalar.final Dimensionless
Calculate the division of Duration and Duration, which results in a Dimensionless scalar.final ElectricalConductance
Calculate the division of ElectricalCapacitance and Duration, which results in a ElectricalConductance scalar.final ElectricalCurrent
Calculate the division of ElectricalCharge and Duration, which results in a ElectricalCurrent scalar.final Power
Calculate the division of Energy and Duration, which results in a Power scalar.final Speed
Calculate the division of Length and Duration, which results in a Speed scalar.final ElectricalPotential
Calculate the division of MagneticFlux and Duration, which results in a ElectricalPotential scalar.final FlowMass
Calculate the division of Mass and Duration, which results in a FlowMass scalar.final Acceleration
Calculate the division of Speed and Duration, which results in a Acceleration scalar.final Power
Calculate the division of Torque and Duration, which results in a Power scalar.final FlowVolume
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
Return the maximum value of two relative scalars.static Duration
Return the maximum value of more than two relative scalars.static Duration
Return the minimum value of two relative scalars.static Duration
Return the minimum value of more than two relative scalars.final Speed
Calculate the multiplication of Acceleration and Duration, which results in a Speed scalar.final AngularVelocity
Calculate the multiplication of AngularAcceleration and Duration, which results in a AngularVelocity scalar.final Angle
Calculate the multiplication of AngularVelocity and Duration, which results in a Angle scalar.final AmountOfSubstance
Calculate the multiplication of CatalyticActivity and Duration, which results in a AmountOfSubstance scalar.final Duration
Calculate the multiplication of Dimensionless and Duration, which results in a Duration scalar.final ElectricalCapacitance
Calculate the multiplication of ElectricalConductance and Duration, which results in a ElectricalCapacitance scalar.final ElectricalCharge
Calculate the multiplication of ElectricalCurrent and Duration, which results in a ElectricalCharge scalar.final MagneticFlux
Calculate the multiplication of ElectricalPotential and Duration, which results in a MagneticFlux scalar.final ElectricalInductance
Calculate the multiplication of ElectricalResistance and Duration, which results in a ElectricalInductance scalar.final Mass
Calculate the multiplication of FlowMass and Duration, which results in a Mass scalar.final Volume
Calculate the multiplication of FlowVolume and Duration, which results in a Volume scalar.final Dimensionless
Calculate the multiplication of Frequency and Duration, which results in a Dimensionless scalar.final Energy
Calculate the multiplication of Power and Duration, which results in a Energy scalar.final Length
Calculate the multiplication of Speed and Duration, which results in a Length scalar. -
Uses of Duration in org.djunits.value.vdouble.vector
Modifier and TypeMethodDescriptionTimeVector.instantiateScalarRelSI
(double valueSI, DurationUnit displayUnit) DurationVector.instantiateScalarSI
(double valueSI, DurationUnit displayUnit) ModifierConstructorDescriptionDurationVector
(Duration[] data) Construct an DurationVector from an array of Duration objects.DurationVector
(Duration[] data, DurationUnit displayUnit) Construct an DurationVector from an array of Duration objects.DurationVector
(Duration[] data, DurationUnit displayUnit, StorageType storageType) Construct an DurationVector from an array of Duration objects.DurationVector
(Duration[] data, StorageType storageType) Construct an DurationVector from an array of Duration objects.