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