| Package | Description |
|---|---|
| org.djunits.value.vfloat.scalar |
Float Scalar storage and calculations with units, absolute/relative.
|
| Modifier and Type | Method and Description |
|---|---|
FloatMass |
FloatMass.abs()
Set the value(s) to their absolute value.
|
FloatMass |
FloatMass.acos()
Set the value(s) to the arc cosine of the value(s); the resulting angle is in the range 0.0 through pi.
|
FloatMass |
FloatMass.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.
|
FloatMass |
FloatMass.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.
|
FloatMass |
FloatMass.cbrt()
Set the value(s) to the(ir) cube root.
|
FloatMass |
FloatMass.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.
|
FloatMass |
FloatMass.cos()
Set the value(s) to the trigonometric cosine of the value(s).
|
FloatMass |
FloatMass.cosh()
Set the value(s) to the hyperbolic cosine of the value(s).
|
FloatMass |
FloatMass.divideBy(double factor)
Divide scalar by a double factor.
|
FloatMass |
FloatMass.divideBy(float divisor)
Scale the value(s) by the inverse of a factor; i.e.
|
FloatMass |
FloatForce.divideBy(FloatAcceleration v)
Calculate the division of FloatForce and FloatAcceleration, which results in a FloatMass scalar.
|
FloatMass |
FloatFlowMass.divideBy(FloatFrequency v)
Calculate the division of FloatFlowMass and FloatFrequency, which results in a FloatMass scalar.
|
FloatMass |
FloatMass.exp()
Set the value(s) to Euler's number e raised to the power of the value(s).
|
FloatMass |
FloatMass.expm1()
Set the value(s) to Euler's number e raised to the power of the value(s) minus 1 (e^x - 1).
|
FloatMass |
FloatMass.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 FloatMass |
FloatMass.interpolate(FloatMass zero,
FloatMass one,
double ratio)
Interpolate between two values.
|
static FloatMass |
FloatMass.interpolate(FloatMass zero,
FloatMass one,
float ratio)
Interpolate between two values.
|
FloatMass |
FloatMass.inv()
Set the value(s) to the complement (1.0/x) of the value(s).
|
FloatMass |
FloatMass.log()
Set the value(s) to the natural logarithm (base e) of the value(s).
|
FloatMass |
FloatMass.log10()
Set the value(s) to the base 10 logarithm of the value(s).
|
FloatMass |
FloatMass.log1p()
Set the value(s) to the natural logarithm of the sum of the value(s) and 1.
|
FloatMass |
FloatMass.minus(FloatMass v)
Relative scalar minus Relative scalar = Relative scalar.
|
FloatMass |
FloatMass.multiplyBy(double factor)
Multiply scalar with a double factor.
|
FloatMass |
FloatMass.multiplyBy(float factor)
Scale the value(s) by a factor.
|
FloatMass |
FloatVolume.multiplyBy(FloatDensity v)
Calculate the multiplication of FloatVolume and FloatDensity, which results in a FloatMass scalar.
|
FloatMass |
FloatTime.Rel.multiplyBy(FloatFlowMass v)
Calculate the multiplication of FloatTime and FloatFlowMass, which results in a FloatMass scalar.
|
FloatMass |
FloatDimensionless.Rel.multiplyBy(FloatMass v)
Calculate the multiplication of FloatDimensionless and FloatMass, which results in a FloatMass scalar.
|
FloatMass |
FloatFlowMass.multiplyBy(FloatTime.Rel v)
Calculate the multiplication of FloatFlowMass and FloatTime, which results in a FloatMass scalar.
|
FloatMass |
FloatDensity.multiplyBy(FloatVolume v)
Calculate the multiplication of FloatDensity and FloatVolume, which results in a FloatMass scalar.
|
FloatMass |
FloatMass.plus(FloatMass v)
Relative scalar plus Relative scalar = Relative scalar.
|
FloatMass |
FloatMass.pow(double x)
Set the value(s) to the value(s) raised to the power of the argument.
|
FloatMass |
FloatMass.rint()
Set the value(s) to the value(s) that are closest in value to the argument and equal to a mathematical integer.
|
FloatMass |
FloatMass.round()
Set the value(s) to the closest long to the argument with ties rounding up.
|
FloatMass |
FloatMass.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.
|
FloatMass |
FloatMass.sin()
Set the value(s) to the trigonometric sine of the value(s).
|
FloatMass |
FloatMass.sinh()
Set the value(s) to the hyperbolic sine of the value(s).
|
FloatMass |
FloatMass.sqrt()
Set the value(s) to the correctly rounded positive square root of the value(s).
|
FloatMass |
FloatMass.tan()
Set the value(s) to the trigonometric tangent of the value(s).
|
FloatMass |
FloatMass.tanh()
Set the value(s) to the hyperbolic tangent of the value(s).
|
FloatMass |
FloatMass.toDegrees()
Set the value(s) to approximately equivalent angle(s) measured in degrees.
|
FloatMass |
FloatMass.toRadians()
Set the value(s) to approximately equivalent angle(s) measured in radians.
|
| Modifier and Type | Method and Description |
|---|---|
FloatMoneyPerMass |
FloatMoney.divideBy(FloatMass v)
Calculate the division of FloatMoney and FloatMass, which results in a FloatMoneyPerMass scalar.
|
FloatDimensionless.Rel |
FloatMass.divideBy(FloatMass v)
Calculate the division of FloatMass and FloatMass, which results in a FloatDimensionless scalar.
|
FloatAcceleration |
FloatForce.divideBy(FloatMass v)
Calculate the division of FloatForce and FloatMass, which results in a FloatAcceleration scalar.
|
FloatFrequency |
FloatFlowMass.divideBy(FloatMass v)
Calculate the division of FloatFlowMass and FloatMass, which results in a FloatFrequency scalar.
|
static FloatMass |
FloatMass.interpolate(FloatMass zero,
FloatMass one,
double ratio)
Interpolate between two values.
|
static FloatMass |
FloatMass.interpolate(FloatMass zero,
FloatMass one,
float ratio)
Interpolate between two values.
|
FloatMass |
FloatMass.minus(FloatMass v)
Relative scalar minus Relative scalar = Relative scalar.
|
FloatMoney |
FloatMoneyPerMass.multiplyBy(FloatMass v)
Calculate the multiplication of FloatMoneyPerMass and FloatMass, which results in a FloatMoney scalar.
|
FloatMass |
FloatDimensionless.Rel.multiplyBy(FloatMass v)
Calculate the multiplication of FloatDimensionless and FloatMass, which results in a FloatMass scalar.
|
FloatForce |
FloatAcceleration.multiplyBy(FloatMass v)
Calculate the multiplication of FloatAcceleration and FloatMass, which results in a FloatForce scalar.
|
FloatMass |
FloatMass.plus(FloatMass v)
Relative scalar plus Relative scalar = Relative scalar.
|
Copyright © 2015 Delft University of Technology. All rights reserved.