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