Uses of Class
org.djunits.value.vdouble.scalar.Duration
Packages that use 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
Methods in org.djunits.value.vdouble.matrix that return DurationModifier and TypeMethodDescriptionTimeMatrix.instantiateScalarRelSI(double valueSI, DurationUnit displayUnit) DurationMatrix.instantiateScalarSI(double valueSI, DurationUnit displayUnit) Methods in org.djunits.value.vdouble.matrix that return types with arguments of type DurationConstructors in org.djunits.value.vdouble.matrix with parameters of type DurationModifierConstructorDescriptionDurationMatrix(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.Constructor parameters in org.djunits.value.vdouble.matrix with type arguments of type DurationModifierConstructorDescriptionDurationMatrix(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
Fields in org.djunits.value.vdouble.scalar declared as DurationModifier and TypeFieldDescriptionstatic final DurationDuration.NaNConstant with value NaN.static final DurationDuration.NEG_MAXVALUEConstant with value -MAX_VALUE.static final DurationDuration.NEGATIVE_INFINITYConstant with value NEGATIVE_INFINITY.static final DurationDuration.ONEConstant with value one.static final DurationDuration.POS_MAXVALUEConstant with value MAX_VALUE.static final DurationDuration.POSITIVE_INFINITYConstant with value POSITIVE_INFINITY.static final DurationDuration.ZEROConstant with value zero.Methods in org.djunits.value.vdouble.scalar that return DurationModifier and TypeMethodDescriptionfinal DurationSIScalar.asDuration()Return the current scalar as a duration.final DurationSIScalar.asDuration(DurationUnit displayUnit) Return the current scalar as a duration, and provide a display unit.final DurationAmountOfSubstance.divide(CatalyticActivity v) Calculate the division of AmountOfSubstance and CatalyticActivity, which results in a Duration scalar.final DurationAngle.divide(AngularVelocity v) Calculate the division of Angle and AngularVelocity, which results in a Duration scalar.final DurationAngularVelocity.divide(AngularAcceleration v) Calculate the division of AngularVelocity and AngularAcceleration, which results in a Duration scalar.final DurationCalculate the division of Dimensionless and Frequency, which results in a Duration scalar.static DurationDuration.divide(DoubleScalarRel<?, ?> scalar1, DoubleScalarRel<?, ?> scalar2) Divide two scalars that result in a scalar of type Duration.final DurationElectricalCapacitance.divide(ElectricalConductance v) Calculate the division of ElectricalCapacitance and ElectricalConductance, which results in a Duration scalar.final DurationElectricalCharge.divide(ElectricalCurrent v) Calculate the division of ElectricalCharge and ElectricalCurrent, which results in a Duration scalar.final DurationCalculate the division of Energy and Power, which results in a Duration scalar.final DurationCalculate the division of Length and Speed, which results in a Duration scalar.final DurationMagneticFlux.divide(ElectricalPotential v) Calculate the division of MagneticFlux and ElectricalPotential, which results in a Duration scalar.final DurationCalculate the division of Mass and FlowMass, which results in a Duration scalar.final DurationSpeed.divide(Acceleration v) Calculate the division of Speed and Acceleration, which results in a Duration scalar.final DurationCalculate the division of Torque and Power, which results in a Duration scalar.final DurationVolume.divide(FlowVolume v) Calculate the division of Volume and FlowVolume, which results in a Duration scalar.final DurationDuration.instantiateRel(double value, DurationUnit unit) final DurationTime.instantiateRel(double value, DurationUnit unit) static DurationDuration.interpolate(Duration zero, Duration one, double ratio) Interpolate between two values.static DurationReturn the maximum value of two relative scalars.static DurationReturn the maximum value of more than two relative scalars.static DurationReturn the minimum value of two relative scalars.static DurationReturn the minimum value of more than two relative scalars.static DurationDuration.multiply(DoubleScalarRel<?, ?> scalar1, DoubleScalarRel<?, ?> scalar2) Multiply two scalars that result in a scalar of type Duration.static DurationReturns a Duration based on a value and the textual representation of the unit, which can be localized.static final DurationDuration.ofSI(double value) Construct Duration scalar based on an SI value.Frequency.reciprocal()final DurationCalculate the multiplication of Dimensionless and Duration, which results in a Duration scalar.static DurationReturns a Duration representation of a textual representation of a value with a unit.Methods in org.djunits.value.vdouble.scalar with parameters of type DurationModifier and TypeMethodDescriptionfinal CatalyticActivityCalculate the division of AmountOfSubstance and Duration, which results in a CatalyticActivity scalar.final AngularVelocityCalculate the division of Angle and Duration, which results in a AngularVelocity scalar.final AngularAccelerationCalculate the division of AngularVelocity and Duration, which results in a AngularAcceleration scalar.final FrequencyCalculate the division of Dimensionless and Duration, which results in a Frequency scalar.final DimensionlessCalculate the division of Duration and Duration, which results in a Dimensionless scalar.final ElectricalConductanceCalculate the division of ElectricalCapacitance and Duration, which results in a ElectricalConductance scalar.final ElectricalCurrentCalculate the division of ElectricalCharge and Duration, which results in a ElectricalCurrent scalar.final PowerCalculate the division of Energy and Duration, which results in a Power scalar.final SpeedCalculate the division of Length and Duration, which results in a Speed scalar.final ElectricalPotentialCalculate the division of MagneticFlux and Duration, which results in a ElectricalPotential scalar.final FlowMassCalculate the division of Mass and Duration, which results in a FlowMass scalar.final AccelerationCalculate the division of Speed and Duration, which results in a Acceleration scalar.final PowerCalculate the division of Torque and Duration, which results in a Power scalar.final FlowVolumeCalculate the division of Volume and Duration, which results in a FlowVolume scalar.static DurationDuration.interpolate(Duration zero, Duration one, double ratio) Interpolate between two values.static DurationReturn the maximum value of two relative scalars.static DurationReturn the maximum value of more than two relative scalars.static DurationReturn the minimum value of two relative scalars.static DurationReturn the minimum value of more than two relative scalars.final SpeedCalculate the multiplication of Acceleration and Duration, which results in a Speed scalar.final AngularVelocityCalculate the multiplication of AngularAcceleration and Duration, which results in a AngularVelocity scalar.final AngleCalculate the multiplication of AngularVelocity and Duration, which results in a Angle scalar.final AmountOfSubstanceCalculate the multiplication of CatalyticActivity and Duration, which results in a AmountOfSubstance scalar.final DurationCalculate the multiplication of Dimensionless and Duration, which results in a Duration scalar.final ElectricalCapacitanceCalculate the multiplication of ElectricalConductance and Duration, which results in a ElectricalCapacitance scalar.final ElectricalChargeCalculate the multiplication of ElectricalCurrent and Duration, which results in a ElectricalCharge scalar.final MagneticFluxCalculate the multiplication of ElectricalPotential and Duration, which results in a MagneticFlux scalar.final ElectricalInductanceCalculate the multiplication of ElectricalResistance and Duration, which results in a ElectricalInductance scalar.final MassCalculate the multiplication of FlowMass and Duration, which results in a Mass scalar.final VolumeCalculate the multiplication of FlowVolume and Duration, which results in a Volume scalar.final DimensionlessCalculate the multiplication of Frequency and Duration, which results in a Dimensionless scalar.final EnergyCalculate the multiplication of Power and Duration, which results in a Energy scalar.final LengthCalculate the multiplication of Speed and Duration, which results in a Length scalar.Constructors in org.djunits.value.vdouble.scalar with parameters of type Duration -
Uses of Duration in org.djunits.value.vdouble.vector
Methods in org.djunits.value.vdouble.vector that return DurationModifier and TypeMethodDescriptionTimeVector.instantiateScalarRelSI(double valueSI, DurationUnit displayUnit) DurationVector.instantiateScalarSI(double valueSI, DurationUnit displayUnit) Methods in org.djunits.value.vdouble.vector that return types with arguments of type DurationConstructors in org.djunits.value.vdouble.vector with parameters of type DurationModifierConstructorDescriptionDurationVector(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.