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