| Package | Description |
|---|---|
| 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 |
|---|---|
Time.Rel |
Time.Rel.abs()
Set the value(s) to their absolute value.
|
Time.Rel |
Time.Rel.acos()
Set the value(s) to the arc cosine of the value(s); the resulting angle is in the range 0.0 through pi.
|
Time.Rel |
Time.Rel.asin()
Set the value(s) to the arc sine of the value(s); the resulting angle is in the range -pi/2 through pi/2.
|
Time.Rel |
Time.Rel.atan()
Set the value(s) to the arc tangent of the value(s); the resulting angle is in the range -pi/2 through pi/2.
|
Time.Rel |
Time.Rel.cbrt()
Set the value(s) to the(ir) cube root.
|
Time.Rel |
Time.Rel.ceil()
Set the value(s) to the smallest (closest to negative infinity) value(s) that are greater than or equal to the argument
and equal to a mathematical integer.
|
Time.Rel |
Time.Rel.cos()
Set the value(s) to the trigonometric cosine of the value(s).
|
Time.Rel |
Time.Rel.cosh()
Set the value(s) to the hyperbolic cosine of the value(s).
|
Time.Rel |
Speed.divideBy(Acceleration v)
Calculate the division of Speed and Acceleration, which results in a Time scalar.
|
Time.Rel |
Time.Rel.divideBy(double divisor)
Scale the value(s) by the inverse of a factor; i.e.
|
Time.Rel |
ElectricalCharge.divideBy(ElectricalCurrent v)
Calculate the division of ElectricalCharge and ElectricalCurrent, which results in a Time scalar.
|
Time.Rel |
Mass.divideBy(FlowMass v)
Calculate the division of Mass and FlowMass, which results in a Time scalar.
|
Time.Rel |
Volume.divideBy(FlowVolume v)
Calculate the division of Volume and FlowVolume, which results in a Time scalar.
|
Time.Rel |
Dimensionless.Rel.divideBy(Frequency v)
Calculate the division of Dimensionless and Frequency, which results in a Time scalar.
|
Time.Rel |
Torque.divideBy(Power v)
Calculate the division of Torque and Power, which results in a Time scalar.
|
Time.Rel |
Energy.divideBy(Power v)
Calculate the division of Energy and Power, which results in a Time scalar.
|
Time.Rel |
Length.Rel.divideBy(Speed v)
Calculate the division of Length and Speed, which results in a Time scalar.
|
Time.Rel |
Time.Rel.exp()
Set the value(s) to Euler's number e raised to the power of the value(s).
|
Time.Rel |
Time.Rel.expm1()
Set the value(s) to Euler's number e raised to the power of the value(s) minus 1 (e^x - 1).
|
Time.Rel |
Time.Rel.floor()
Set the value(s) to the largest (closest to positive infinity) value(s) that are less than or equal to the argument and
equal to a mathematical integer.
|
static Time.Rel |
Time.Rel.interpolate(Time.Rel zero,
Time.Rel one,
double ratio)
Interpolate between two values.
|
Time.Rel |
Time.Rel.inv()
Set the value(s) to the complement (1.0/x) of the value(s).
|
Time.Rel |
Time.Rel.log()
Set the value(s) to the natural logarithm (base e) of the value(s).
|
Time.Rel |
Time.Rel.log10()
Set the value(s) to the base 10 logarithm of the value(s).
|
Time.Rel |
Time.Rel.log1p()
Set the value(s) to the natural logarithm of the sum of the value(s) and 1.
|
Time.Rel |
Time.Abs.minus(Time.Abs v)
Absolute scalar minus Absolute scalar = Relative scalar.
|
Time.Rel |
Time.Rel.minus(Time.Rel v)
Relative scalar minus Relative scalar = Relative scalar.
|
Time.Rel |
Time.Rel.multiplyBy(double factor)
Scale the value(s) by a factor.
|
Time.Rel |
Dimensionless.Rel.multiplyBy(Time.Rel v)
Calculate the multiplication of Dimensionless and Time, which results in a Time scalar.
|
Time.Rel |
Time.Rel.plus(Time.Rel v)
Relative scalar plus Relative scalar = Relative scalar.
|
Time.Rel |
Time.Rel.pow(double x)
Set the value(s) to the value(s) raised to the power of the argument.
|
Time.Rel |
Time.Rel.rint()
Set the value(s) to the value(s) that are closest in value to the argument and equal to a mathematical integer.
|
Time.Rel |
Time.Rel.round()
Set the value(s) to the closest long to the argument with ties rounding up.
|
Time.Rel |
Time.Rel.signum()
Set the value(s) to the signum function of the value(s); zero if the argument is zero, 1.0 if the argument is greater
than zero, -1.0 if the argument is less than zero.
|
Time.Rel |
Time.Rel.sin()
Set the value(s) to the trigonometric sine of the value(s).
|
Time.Rel |
Time.Rel.sinh()
Set the value(s) to the hyperbolic sine of the value(s).
|
Time.Rel |
Time.Rel.sqrt()
Set the value(s) to the correctly rounded positive square root of the value(s).
|
Time.Rel |
Time.Rel.tan()
Set the value(s) to the trigonometric tangent of the value(s).
|
Time.Rel |
Time.Rel.tanh()
Set the value(s) to the hyperbolic tangent of the value(s).
|
Time.Rel |
Time.Rel.toDegrees()
Set the value(s) to approximately equivalent angle(s) measured in degrees.
|
Time.Rel |
Time.Rel.toRadians()
Set the value(s) to approximately equivalent angle(s) measured in radians.
|
Time.Rel |
Time.Abs.toRel()
Translate the absolute scalar into a relative scalar (e.g., before or after a multiplication or division).
|
| Modifier and Type | Method and Description |
|---|---|
FlowVolume |
Volume.divideBy(Time.Rel v)
Calculate the division of Volume and Time, which results in a FlowVolume scalar.
|
Power |
Torque.divideBy(Time.Rel v)
Calculate the division of Torque and Time, which results in a Power scalar.
|
Dimensionless.Rel |
Time.Rel.divideBy(Time.Rel v)
Calculate the division of Time and Time, which results in a Dimensionless scalar.
|
Acceleration |
Speed.divideBy(Time.Rel v)
Calculate the division of Speed and Time, which results in a Acceleration scalar.
|
MoneyPerTime |
Money.divideBy(Time.Rel v)
Calculate the division of Money and Time, which results in a MoneyPerTime scalar.
|
FlowMass |
Mass.divideBy(Time.Rel v)
Calculate the division of Mass and Time, which results in a FlowMass scalar.
|
Speed |
Length.Rel.divideBy(Time.Rel v)
Calculate the division of Length and Time, which results in a Speed scalar.
|
Power |
Energy.divideBy(Time.Rel v)
Calculate the division of Energy and Time, which results in a Power scalar.
|
ElectricalCurrent |
ElectricalCharge.divideBy(Time.Rel v)
Calculate the division of ElectricalCharge and Time, which results in a ElectricalCurrent scalar.
|
Frequency |
Dimensionless.Rel.divideBy(Time.Rel v)
Calculate the division of Dimensionless and Time, which results in a Frequency scalar.
|
static Time.Rel |
Time.Rel.interpolate(Time.Rel zero,
Time.Rel one,
double ratio)
Interpolate between two values.
|
Time.Rel |
Time.Rel.minus(Time.Rel v)
Relative scalar minus Relative scalar = Relative scalar.
|
Time.Abs |
Time.Abs.minus(Time.Rel v)
Absolute scalar minus Relative scalar = Absolute scalar.
|
Length.Rel |
Speed.multiplyBy(Time.Rel v)
Calculate the multiplication of Speed and Time, which results in a Length scalar.
|
Energy |
Power.multiplyBy(Time.Rel v)
Calculate the multiplication of Power and Time, which results in a Energy scalar.
|
Money |
MoneyPerTime.multiplyBy(Time.Rel v)
Calculate the multiplication of MoneyPerTime and Time, which results in a Money scalar.
|
Dimensionless.Rel |
Frequency.multiplyBy(Time.Rel v)
Calculate the multiplication of Frequency and Time, which results in a Dimensionless scalar.
|
Volume |
FlowVolume.multiplyBy(Time.Rel v)
Calculate the multiplication of FlowVolume and Time, which results in a Volume scalar.
|
Mass |
FlowMass.multiplyBy(Time.Rel v)
Calculate the multiplication of FlowMass and Time, which results in a Mass scalar.
|
ElectricalCharge |
ElectricalCurrent.multiplyBy(Time.Rel v)
Calculate the multiplication of ElectricalCurrent and Time, which results in a ElectricalCharge scalar.
|
Time.Rel |
Dimensionless.Rel.multiplyBy(Time.Rel v)
Calculate the multiplication of Dimensionless and Time, which results in a Time scalar.
|
Speed |
Acceleration.multiplyBy(Time.Rel v)
Calculate the multiplication of Acceleration and Time, which results in a Speed scalar.
|
Time.Rel |
Time.Rel.plus(Time.Rel v)
Relative scalar plus Relative scalar = Relative scalar.
|
Time.Abs |
Time.Abs.plus(Time.Rel v)
Absolute scalar plus Relative scalar = Absolute scalar.
|
| Modifier and Type | Method and Description |
|---|---|
Time.Rel |
TimeVector.Rel.get(int index)
Retrieve the value stored at a specified index as a DoubleScalar.
|
Time.Rel |
MutableTimeVector.Rel.get(int index)
Retrieve the value stored at a specified index as a DoubleScalar.
|
| Constructor and Description |
|---|
Dense(Time.Rel[] values)
Construct a new Relative Dense Immutable Time Vector.
|
Dense(Time.Rel[] values)
Construct a new Relative Dense Immutable Time Vector.
|
Sparse(Time.Rel[] values)
Construct a new Relative Sparse Immutable Time Vector.
|
Sparse(Time.Rel[] values)
Construct a new Relative Sparse Immutable Time Vector.
|
Copyright © 2015 Delft University of Technology. All rights reserved.