| Package | Description |
|---|---|
| org.djunits.value.vfloat.scalar |
Float Scalar storage and calculations with units, absolute/relative.
|
| org.djunits.value.vfloat.vector |
Float Vector storage and calculations with units, absolute/relative, sparse/dense.
|
| Modifier and Type | Method and Description |
|---|---|
FloatLength.Rel |
FloatLength.Rel.abs()
Set the value(s) to their absolute value.
|
FloatLength.Rel |
FloatLength.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.
|
FloatLength.Rel |
FloatLength.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.
|
FloatLength.Rel |
FloatLength.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.
|
FloatLength.Rel |
FloatLength.Rel.cbrt()
Set the value(s) to the(ir) cube root.
|
FloatLength.Rel |
FloatLength.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.
|
FloatLength.Rel |
FloatLength.Rel.cos()
Set the value(s) to the trigonometric cosine of the value(s).
|
FloatLength.Rel |
FloatLength.Rel.cosh()
Set the value(s) to the hyperbolic cosine of the value(s).
|
FloatLength.Rel |
FloatLength.Rel.divideBy(double factor)
Divide scalar by a double factor.
|
FloatLength.Rel |
FloatLength.Rel.divideBy(float divisor)
Scale the value(s) by the inverse of a factor; i.e.
|
FloatLength.Rel |
FloatVolume.divideBy(FloatArea v)
Calculate the division of FloatVolume and FloatArea, which results in a FloatLength scalar.
|
FloatLength.Rel |
FloatTorque.divideBy(FloatForce v)
Calculate the division of FloatTorque and FloatForce, which results in a FloatLength scalar.
|
FloatLength.Rel |
FloatEnergy.divideBy(FloatForce v)
Calculate the division of FloatEnergy and FloatForce, which results in a FloatLength scalar.
|
FloatLength.Rel |
FloatSpeed.divideBy(FloatFrequency v)
Calculate the division of FloatSpeed and FloatFrequency, which results in a FloatLength scalar.
|
FloatLength.Rel |
FloatArea.divideBy(FloatLength.Rel v)
Calculate the division of FloatArea and FloatLength, which results in a FloatLength scalar.
|
FloatLength.Rel |
FloatDimensionless.Rel.divideBy(FloatLinearDensity v)
Calculate the division of FloatDimensionless and FloatLinearDensity, which results in a FloatLength scalar.
|
FloatLength.Rel |
FloatLength.Rel.exp()
Set the value(s) to Euler's number e raised to the power of the value(s).
|
FloatLength.Rel |
FloatLength.Rel.expm1()
Set the value(s) to Euler's number e raised to the power of the value(s) minus 1 (e^x - 1).
|
FloatLength.Rel |
FloatLength.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 FloatLength.Rel |
FloatLength.Rel.interpolate(FloatLength.Rel zero,
FloatLength.Rel one,
double ratio)
Interpolate between two values.
|
static FloatLength.Rel |
FloatLength.Rel.interpolate(FloatLength.Rel zero,
FloatLength.Rel one,
float ratio)
Interpolate between two values.
|
FloatLength.Rel |
FloatLength.Rel.inv()
Set the value(s) to the complement (1.0/x) of the value(s).
|
FloatLength.Rel |
FloatLength.Rel.log()
Set the value(s) to the natural logarithm (base e) of the value(s).
|
FloatLength.Rel |
FloatLength.Rel.log10()
Set the value(s) to the base 10 logarithm of the value(s).
|
FloatLength.Rel |
FloatLength.Rel.log1p()
Set the value(s) to the natural logarithm of the sum of the value(s) and 1.
|
FloatLength.Rel |
FloatLength.Abs.minus(FloatLength.Abs v)
Absolute scalar minus Absolute scalar = Relative scalar.
|
FloatLength.Rel |
FloatLength.Rel.minus(FloatLength.Rel v)
Relative scalar minus Relative scalar = Relative scalar.
|
FloatLength.Rel |
FloatLength.Rel.multiplyBy(double factor)
Multiply scalar with a double factor.
|
FloatLength.Rel |
FloatLength.Rel.multiplyBy(float factor)
Scale the value(s) by a factor.
|
FloatLength.Rel |
FloatLinearDensity.multiplyBy(FloatArea v)
Calculate the multiplication of FloatLinearDensity and FloatArea, which results in a FloatLength scalar.
|
FloatLength.Rel |
FloatDimensionless.Rel.multiplyBy(FloatLength.Rel v)
Calculate the multiplication of FloatDimensionless and FloatLength, which results in a FloatLength scalar.
|
FloatLength.Rel |
FloatArea.multiplyBy(FloatLinearDensity v)
Calculate the multiplication of FloatArea and FloatLinearDensity, which results in a FloatLength scalar.
|
FloatLength.Rel |
FloatTime.Rel.multiplyBy(FloatSpeed v)
Calculate the multiplication of FloatTime and FloatSpeed, which results in a FloatLength scalar.
|
FloatLength.Rel |
FloatSpeed.multiplyBy(FloatTime.Rel v)
Calculate the multiplication of FloatSpeed and FloatTime, which results in a FloatLength scalar.
|
FloatLength.Rel |
FloatLength.Rel.plus(FloatLength.Rel v)
Relative scalar plus Relative scalar = Relative scalar.
|
FloatLength.Rel |
FloatLength.Rel.pow(double x)
Set the value(s) to the value(s) raised to the power of the argument.
|
FloatLength.Rel |
FloatLength.Rel.rint()
Set the value(s) to the value(s) that are closest in value to the argument and equal to a mathematical integer.
|
FloatLength.Rel |
FloatLength.Rel.round()
Set the value(s) to the closest long to the argument with ties rounding up.
|
FloatLength.Rel |
FloatLength.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.
|
FloatLength.Rel |
FloatLength.Rel.sin()
Set the value(s) to the trigonometric sine of the value(s).
|
FloatLength.Rel |
FloatLength.Rel.sinh()
Set the value(s) to the hyperbolic sine of the value(s).
|
FloatLength.Rel |
FloatLength.Rel.sqrt()
Set the value(s) to the correctly rounded positive square root of the value(s).
|
FloatLength.Rel |
FloatLength.Rel.tan()
Set the value(s) to the trigonometric tangent of the value(s).
|
FloatLength.Rel |
FloatLength.Rel.tanh()
Set the value(s) to the hyperbolic tangent of the value(s).
|
FloatLength.Rel |
FloatLength.Rel.toDegrees()
Set the value(s) to approximately equivalent angle(s) measured in degrees.
|
FloatLength.Rel |
FloatLength.Rel.toRadians()
Set the value(s) to approximately equivalent angle(s) measured in radians.
|
FloatLength.Rel |
FloatLength.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 |
|---|---|
FloatArea |
FloatVolume.divideBy(FloatLength.Rel v)
Calculate the division of FloatVolume and FloatLength, which results in a FloatArea scalar.
|
FloatForce |
FloatTorque.divideBy(FloatLength.Rel v)
Calculate the division of FloatTorque and FloatLength, which results in a FloatForce scalar.
|
FloatFrequency |
FloatSpeed.divideBy(FloatLength.Rel v)
Calculate the division of FloatSpeed and FloatLength, which results in a FloatFrequency scalar.
|
FloatMoneyPerLength |
FloatMoney.divideBy(FloatLength.Rel v)
Calculate the division of FloatMoney and FloatLength, which results in a FloatMoneyPerLength scalar.
|
FloatDimensionless.Rel |
FloatLength.Rel.divideBy(FloatLength.Rel v)
Calculate the division of FloatLength and FloatLength, which results in a FloatDimensionless scalar.
|
FloatForce |
FloatEnergy.divideBy(FloatLength.Rel v)
Calculate the division of FloatEnergy and FloatLength, which results in a FloatForce scalar.
|
FloatLinearDensity |
FloatDimensionless.Rel.divideBy(FloatLength.Rel v)
Calculate the division of FloatDimensionless and FloatLength, which results in a FloatLinearDensity scalar.
|
FloatLength.Rel |
FloatArea.divideBy(FloatLength.Rel v)
Calculate the division of FloatArea and FloatLength, which results in a FloatLength scalar.
|
static FloatLength.Rel |
FloatLength.Rel.interpolate(FloatLength.Rel zero,
FloatLength.Rel one,
double ratio)
Interpolate between two values.
|
static FloatLength.Rel |
FloatLength.Rel.interpolate(FloatLength.Rel zero,
FloatLength.Rel one,
float ratio)
Interpolate between two values.
|
FloatLength.Rel |
FloatLength.Rel.minus(FloatLength.Rel v)
Relative scalar minus Relative scalar = Relative scalar.
|
FloatLength.Abs |
FloatLength.Abs.minus(FloatLength.Rel v)
Absolute scalar minus Relative scalar = Absolute scalar.
|
FloatMoney |
FloatMoneyPerLength.multiplyBy(FloatLength.Rel v)
Calculate the multiplication of FloatMoneyPerLength and FloatLength, which results in a FloatMoney scalar.
|
FloatArea |
FloatLength.Rel.multiplyBy(FloatLength.Rel v)
Calculate the multiplication of FloatLength and FloatLength, which results in a FloatArea scalar.
|
FloatSpeed |
FloatFrequency.multiplyBy(FloatLength.Rel v)
Calculate the multiplication of FloatFrequency and FloatLength, which results in a FloatSpeed scalar.
|
FloatEnergy |
FloatForce.multiplyBy(FloatLength.Rel v)
Calculate the multiplication of FloatForce and FloatLength, which results in a FloatEnergy scalar.
|
FloatLength.Rel |
FloatDimensionless.Rel.multiplyBy(FloatLength.Rel v)
Calculate the multiplication of FloatDimensionless and FloatLength, which results in a FloatLength scalar.
|
FloatVolume |
FloatArea.multiplyBy(FloatLength.Rel v)
Calculate the multiplication of FloatArea and FloatLength, which results in a FloatVolume scalar.
|
FloatLength.Rel |
FloatLength.Rel.plus(FloatLength.Rel v)
Relative scalar plus Relative scalar = Relative scalar.
|
FloatLength.Abs |
FloatLength.Abs.plus(FloatLength.Rel v)
Absolute scalar plus Relative scalar = Absolute scalar.
|
| Modifier and Type | Method and Description |
|---|---|
FloatLength.Rel |
MutableFloatLengthVector.Rel.get(int index)
Retrieve the value stored at a specified index as a FloatScalar.
|
FloatLength.Rel |
FloatLengthVector.Rel.get(int index)
Retrieve the value stored at a specified index as a FloatScalar.
|
| Constructor and Description |
|---|
Dense(FloatLength.Rel[] values)
Construct a new Relative Dense Immutable FloatLength Vector.
|
Dense(FloatLength.Rel[] values)
Construct a new Relative Dense Immutable FloatLength Vector.
|
Sparse(FloatLength.Rel[] values)
Construct a new Relative Sparse Immutable FloatLength Vector.
|
Sparse(FloatLength.Rel[] values)
Construct a new Relative Sparse Immutable FloatLength Vector.
|
Copyright © 2015 Delft University of Technology. All rights reserved.