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