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