| Package | Description |
|---|---|
| org.djunits.value.vdouble.scalar |
Double Scalar storage and calculations with units, absolute/relative.
|
| org.djunits.value.vdouble.vector |
Double Vector storage and calculations with units, absolute/relative, sparse/dense.
|
| Modifier and Type | Method and Description |
|---|---|
LinearDensity |
LinearDensity.abs()
Set the value(s) to their absolute value.
|
LinearDensity |
LinearDensity.acos()
Set the value(s) to the arc cosine of the value(s); the resulting angle is in the range 0.0 through pi.
|
LinearDensity |
LinearDensity.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.
|
LinearDensity |
LinearDensity.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.
|
LinearDensity |
LinearDensity.cbrt()
Set the value(s) to the(ir) cube root.
|
LinearDensity |
LinearDensity.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.
|
LinearDensity |
LinearDensity.cos()
Set the value(s) to the trigonometric cosine of the value(s).
|
LinearDensity |
LinearDensity.cosh()
Set the value(s) to the hyperbolic cosine of the value(s).
|
LinearDensity |
Length.Rel.divideBy(Area v)
Calculate the division of Length and Area, which results in a LinearDensity scalar.
|
LinearDensity |
LinearDensity.divideBy(double divisor)
Scale the value(s) by the inverse of a factor; i.e.
|
LinearDensity |
Force.divideBy(Energy v)
Calculate the division of Force and Energy, which results in a LinearDensity scalar.
|
LinearDensity |
Dimensionless.Rel.divideBy(Length.Rel v)
Calculate the division of Dimensionless and Length, which results in a LinearDensity scalar.
|
LinearDensity |
Area.divideBy(Volume v)
Calculate the division of Area and Volume, which results in a LinearDensity scalar.
|
LinearDensity |
LinearDensity.exp()
Set the value(s) to Euler's number e raised to the power of the value(s).
|
LinearDensity |
LinearDensity.expm1()
Set the value(s) to Euler's number e raised to the power of the value(s) minus 1 (e^x - 1).
|
LinearDensity |
LinearDensity.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 LinearDensity |
LinearDensity.interpolate(LinearDensity zero,
LinearDensity one,
double ratio)
Interpolate between two values.
|
LinearDensity |
LinearDensity.inv()
Set the value(s) to the complement (1.0/x) of the value(s).
|
LinearDensity |
LinearDensity.log()
Set the value(s) to the natural logarithm (base e) of the value(s).
|
LinearDensity |
LinearDensity.log10()
Set the value(s) to the base 10 logarithm of the value(s).
|
LinearDensity |
LinearDensity.log1p()
Set the value(s) to the natural logarithm of the sum of the value(s) and 1.
|
LinearDensity |
LinearDensity.minus(LinearDensity v)
Relative scalar minus Relative scalar = Relative scalar.
|
LinearDensity |
LinearDensity.multiplyBy(double factor)
Scale the value(s) by a factor.
|
LinearDensity |
Dimensionless.Rel.multiplyBy(LinearDensity v)
Calculate the multiplication of Dimensionless and LinearDensity, which results in a LinearDensity scalar.
|
LinearDensity |
LinearDensity.plus(LinearDensity v)
Relative scalar plus Relative scalar = Relative scalar.
|
LinearDensity |
LinearDensity.pow(double x)
Set the value(s) to the value(s) raised to the power of the argument.
|
LinearDensity |
LinearDensity.rint()
Set the value(s) to the value(s) that are closest in value to the argument and equal to a mathematical integer.
|
LinearDensity |
LinearDensity.round()
Set the value(s) to the closest long to the argument with ties rounding up.
|
LinearDensity |
LinearDensity.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.
|
LinearDensity |
LinearDensity.sin()
Set the value(s) to the trigonometric sine of the value(s).
|
LinearDensity |
LinearDensity.sinh()
Set the value(s) to the hyperbolic sine of the value(s).
|
LinearDensity |
LinearDensity.sqrt()
Set the value(s) to the correctly rounded positive square root of the value(s).
|
LinearDensity |
LinearDensity.tan()
Set the value(s) to the trigonometric tangent of the value(s).
|
LinearDensity |
LinearDensity.tanh()
Set the value(s) to the hyperbolic tangent of the value(s).
|
LinearDensity |
LinearDensity.toDegrees()
Set the value(s) to approximately equivalent angle(s) measured in degrees.
|
LinearDensity |
LinearDensity.toRadians()
Set the value(s) to approximately equivalent angle(s) measured in radians.
|
| Modifier and Type | Method and Description |
|---|---|
Money |
MoneyPerLength.divideBy(LinearDensity v)
Calculate the division of MoneyPerLength and LinearDensity, which results in a Money scalar.
|
Dimensionless.Rel |
LinearDensity.divideBy(LinearDensity v)
Calculate the division of LinearDensity and LinearDensity, which results in a Dimensionless scalar.
|
Area |
Length.Rel.divideBy(LinearDensity v)
Calculate the division of Length and LinearDensity, which results in a Area scalar.
|
Energy |
Force.divideBy(LinearDensity v)
Calculate the division of Force and LinearDensity, which results in a Energy scalar.
|
Length.Rel |
Dimensionless.Rel.divideBy(LinearDensity v)
Calculate the division of Dimensionless and LinearDensity, which results in a Length scalar.
|
Volume |
Area.divideBy(LinearDensity v)
Calculate the division of Area and LinearDensity, which results in a Volume scalar.
|
static LinearDensity |
LinearDensity.interpolate(LinearDensity zero,
LinearDensity one,
double ratio)
Interpolate between two values.
|
LinearDensity |
LinearDensity.minus(LinearDensity v)
Relative scalar minus Relative scalar = Relative scalar.
|
Area |
Volume.multiplyBy(LinearDensity v)
Calculate the multiplication of Volume and LinearDensity, which results in a Area scalar.
|
Force |
Torque.multiplyBy(LinearDensity v)
Calculate the multiplication of Torque and LinearDensity, which results in a Force scalar.
|
Frequency |
Speed.multiplyBy(LinearDensity v)
Calculate the multiplication of Speed and LinearDensity, which results in a Frequency scalar.
|
MoneyPerLength |
Money.multiplyBy(LinearDensity v)
Calculate the multiplication of Money and LinearDensity, which results in a MoneyPerLength scalar.
|
Force |
Energy.multiplyBy(LinearDensity v)
Calculate the multiplication of Energy and LinearDensity, which results in a Force scalar.
|
LinearDensity |
Dimensionless.Rel.multiplyBy(LinearDensity v)
Calculate the multiplication of Dimensionless and LinearDensity, which results in a LinearDensity scalar.
|
Length.Rel |
Area.multiplyBy(LinearDensity v)
Calculate the multiplication of Area and LinearDensity, which results in a Length scalar.
|
LinearDensity |
LinearDensity.plus(LinearDensity v)
Relative scalar plus Relative scalar = Relative scalar.
|
| Modifier and Type | Method and Description |
|---|---|
LinearDensity |
MutableLinearDensityVector.get(int index)
Retrieve the value stored at a specified index as a DoubleScalar.
|
LinearDensity |
LinearDensityVector.get(int index)
Retrieve the value stored at a specified index as a DoubleScalar.
|
| Constructor and Description |
|---|
Dense(LinearDensity[] values)
Construct a new Relative Dense Immutable LinearDensity Vector.
|
Dense(LinearDensity[] values)
Construct a new Relative Dense Immutable LinearDensity Vector.
|
Sparse(LinearDensity[] values)
Construct a new Relative Sparse Immutable LinearDensity Vector.
|
Sparse(LinearDensity[] values)
Construct a new Relative Sparse Immutable LinearDensity Vector.
|
Copyright © 2015 Delft University of Technology. All rights reserved.