| 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 |
|---|---|
Dimensionless.Rel |
Dimensionless.Rel.abs()
Set the value(s) to their absolute value.
|
Dimensionless.Rel |
Dimensionless.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.
|
Dimensionless.Rel |
Dimensionless.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.
|
Dimensionless.Rel |
Dimensionless.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.
|
Dimensionless.Rel |
Dimensionless.Rel.cbrt()
Set the value(s) to the(ir) cube root.
|
Dimensionless.Rel |
Dimensionless.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.
|
Dimensionless.Rel |
Dimensionless.Rel.cos()
Set the value(s) to the trigonometric cosine of the value(s).
|
Dimensionless.Rel |
Dimensionless.Rel.cosh()
Set the value(s) to the hyperbolic cosine of the value(s).
|
Dimensionless.Rel |
Acceleration.divideBy(Acceleration v)
Calculate the division of Acceleration and Acceleration, which results in a Dimensionless scalar.
|
Dimensionless.Rel |
AnglePlane.Rel.divideBy(AnglePlane.Rel v)
Calculate the division of AnglePlane and AnglePlane, which results in a Dimensionless scalar.
|
Dimensionless.Rel |
AngleSlope.Rel.divideBy(AngleSlope.Rel v)
Calculate the division of AngleSlope and AngleSlope, which results in a Dimensionless scalar.
|
Dimensionless.Rel |
AngleSolid.divideBy(AngleSolid v)
Calculate the division of AngleSolid and AngleSolid, which results in a Dimensionless scalar.
|
Dimensionless.Rel |
Area.divideBy(Area v)
Calculate the division of Area and Area, which results in a Dimensionless scalar.
|
Dimensionless.Rel |
Density.divideBy(Density v)
Calculate the division of Density and Density, which results in a Dimensionless scalar.
|
Dimensionless.Rel |
Dimensionless.Rel.divideBy(Dimensionless.Rel v)
Calculate the division of Dimensionless and Dimensionless, which results in a Dimensionless scalar.
|
Dimensionless.Rel |
Dimensionless.Rel.divideBy(double divisor)
Scale the value(s) by the inverse of a factor; i.e.
|
Dimensionless.Rel |
ElectricalCharge.divideBy(ElectricalCharge v)
Calculate the division of ElectricalCharge and ElectricalCharge, which results in a Dimensionless scalar.
|
Dimensionless.Rel |
ElectricalCurrent.divideBy(ElectricalCurrent v)
Calculate the division of ElectricalCurrent and ElectricalCurrent, which results in a Dimensionless scalar.
|
Dimensionless.Rel |
ElectricalPotential.divideBy(ElectricalPotential v)
Calculate the division of ElectricalPotential and ElectricalPotential, which results in a Dimensionless scalar.
|
Dimensionless.Rel |
ElectricalResistance.divideBy(ElectricalResistance v)
Calculate the division of ElectricalResistance and ElectricalResistance, which results in a Dimensionless scalar.
|
Dimensionless.Rel |
Energy.divideBy(Energy v)
Calculate the division of Energy and Energy, which results in a Dimensionless scalar.
|
Dimensionless.Rel |
FlowMass.divideBy(FlowMass v)
Calculate the division of FlowMass and FlowMass, which results in a Dimensionless scalar.
|
Dimensionless.Rel |
FlowVolume.divideBy(FlowVolume v)
Calculate the division of FlowVolume and FlowVolume, which results in a Dimensionless scalar.
|
Dimensionless.Rel |
Force.divideBy(Force v)
Calculate the division of Force and Force, which results in a Dimensionless scalar.
|
Dimensionless.Rel |
Frequency.divideBy(Frequency v)
Calculate the division of Frequency and Frequency, which results in a Dimensionless scalar.
|
Dimensionless.Rel |
Length.Rel.divideBy(Length.Rel v)
Calculate the division of Length and Length, which results in a Dimensionless scalar.
|
Dimensionless.Rel |
LinearDensity.divideBy(LinearDensity v)
Calculate the division of LinearDensity and LinearDensity, which results in a Dimensionless scalar.
|
Dimensionless.Rel |
Mass.divideBy(Mass v)
Calculate the division of Mass and Mass, which results in a Dimensionless scalar.
|
Dimensionless.Rel |
Money.divideBy(Money v)
Calculate the division of Money and Money, which results in a Dimensionless scalar.
|
Dimensionless.Rel |
MoneyPerArea.divideBy(MoneyPerArea v)
Calculate the division of MoneyPerArea and MoneyPerArea, which results in a Dimensionless scalar.
|
Dimensionless.Rel |
MoneyPerEnergy.divideBy(MoneyPerEnergy v)
Calculate the division of MoneyPerEnergy and MoneyPerEnergy, which results in a Dimensionless scalar.
|
Dimensionless.Rel |
MoneyPerLength.divideBy(MoneyPerLength v)
Calculate the division of MoneyPerLength and MoneyPerLength, which results in a Dimensionless scalar.
|
Dimensionless.Rel |
MoneyPerMass.divideBy(MoneyPerMass v)
Calculate the division of MoneyPerMass and MoneyPerMass, which results in a Dimensionless scalar.
|
Dimensionless.Rel |
MoneyPerTime.divideBy(MoneyPerTime v)
Calculate the division of MoneyPerTime and MoneyPerTime, which results in a Dimensionless scalar.
|
Dimensionless.Rel |
MoneyPerVolume.divideBy(MoneyPerVolume v)
Calculate the division of MoneyPerVolume and MoneyPerVolume, which results in a Dimensionless scalar.
|
Dimensionless.Rel |
Power.divideBy(Power v)
Calculate the division of Power and Power, which results in a Dimensionless scalar.
|
Dimensionless.Rel |
Pressure.divideBy(Pressure v)
Calculate the division of Pressure and Pressure, which results in a Dimensionless scalar.
|
Dimensionless.Rel |
Speed.divideBy(Speed v)
Calculate the division of Speed and Speed, which results in a Dimensionless scalar.
|
Dimensionless.Rel |
Temperature.Rel.divideBy(Temperature.Rel v)
Calculate the division of Temperature and Temperature, which results in a Dimensionless scalar.
|
Dimensionless.Rel |
Time.Rel.divideBy(Time.Rel v)
Calculate the division of Time and Time, which results in a Dimensionless scalar.
|
Dimensionless.Rel |
Torque.divideBy(Torque v)
Calculate the division of Torque and Torque, which results in a Dimensionless scalar.
|
Dimensionless.Rel |
Volume.divideBy(Volume v)
Calculate the division of Volume and Volume, which results in a Dimensionless scalar.
|
Dimensionless.Rel |
Dimensionless.Rel.exp()
Set the value(s) to Euler's number e raised to the power of the value(s).
|
Dimensionless.Rel |
Dimensionless.Rel.expm1()
Set the value(s) to Euler's number e raised to the power of the value(s) minus 1 (e^x - 1).
|
Dimensionless.Rel |
Dimensionless.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 Dimensionless.Rel |
Dimensionless.Rel.interpolate(Dimensionless.Rel zero,
Dimensionless.Rel one,
double ratio)
Interpolate between two values.
|
Dimensionless.Rel |
Dimensionless.Rel.inv()
Set the value(s) to the complement (1.0/x) of the value(s).
|
Dimensionless.Rel |
Dimensionless.Rel.log()
Set the value(s) to the natural logarithm (base e) of the value(s).
|
Dimensionless.Rel |
Dimensionless.Rel.log10()
Set the value(s) to the base 10 logarithm of the value(s).
|
Dimensionless.Rel |
Dimensionless.Rel.log1p()
Set the value(s) to the natural logarithm of the sum of the value(s) and 1.
|
Dimensionless.Rel |
Dimensionless.Abs.minus(Dimensionless.Abs v)
Absolute scalar minus Absolute scalar = Relative scalar.
|
Dimensionless.Rel |
Dimensionless.Rel.minus(Dimensionless.Rel v)
Relative scalar minus Relative scalar = Relative scalar.
|
Dimensionless.Rel |
Dimensionless.Rel.multiplyBy(Dimensionless.Rel v)
Calculate the multiplication of Dimensionless and Dimensionless, which results in a Dimensionless scalar.
|
Dimensionless.Rel |
Dimensionless.Rel.multiplyBy(double factor)
Scale the value(s) by a factor.
|
Dimensionless.Rel |
Time.Rel.multiplyBy(Frequency v)
Calculate the multiplication of Time and Frequency, which results in a Dimensionless scalar.
|
Dimensionless.Rel |
Frequency.multiplyBy(Time.Rel v)
Calculate the multiplication of Frequency and Time, which results in a Dimensionless scalar.
|
Dimensionless.Rel |
Dimensionless.Rel.plus(Dimensionless.Rel v)
Relative scalar plus Relative scalar = Relative scalar.
|
Dimensionless.Rel |
Dimensionless.Rel.pow(double x)
Set the value(s) to the value(s) raised to the power of the argument.
|
Dimensionless.Rel |
Dimensionless.Rel.rint()
Set the value(s) to the value(s) that are closest in value to the argument and equal to a mathematical integer.
|
Dimensionless.Rel |
Dimensionless.Rel.round()
Set the value(s) to the closest long to the argument with ties rounding up.
|
Dimensionless.Rel |
Dimensionless.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.
|
Dimensionless.Rel |
Dimensionless.Rel.sin()
Set the value(s) to the trigonometric sine of the value(s).
|
Dimensionless.Rel |
Dimensionless.Rel.sinh()
Set the value(s) to the hyperbolic sine of the value(s).
|
Dimensionless.Rel |
Dimensionless.Rel.sqrt()
Set the value(s) to the correctly rounded positive square root of the value(s).
|
Dimensionless.Rel |
Dimensionless.Rel.tan()
Set the value(s) to the trigonometric tangent of the value(s).
|
Dimensionless.Rel |
Dimensionless.Rel.tanh()
Set the value(s) to the hyperbolic tangent of the value(s).
|
Dimensionless.Rel |
Dimensionless.Rel.toDegrees()
Set the value(s) to approximately equivalent angle(s) measured in degrees.
|
Dimensionless.Rel |
Dimensionless.Rel.toRadians()
Set the value(s) to approximately equivalent angle(s) measured in radians.
|
Dimensionless.Rel |
Dimensionless.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 |
|---|---|
Dimensionless.Rel |
Dimensionless.Rel.divideBy(Dimensionless.Rel v)
Calculate the division of Dimensionless and Dimensionless, which results in a Dimensionless scalar.
|
static Dimensionless.Rel |
Dimensionless.Rel.interpolate(Dimensionless.Rel zero,
Dimensionless.Rel one,
double ratio)
Interpolate between two values.
|
Dimensionless.Rel |
Dimensionless.Rel.minus(Dimensionless.Rel v)
Relative scalar minus Relative scalar = Relative scalar.
|
Dimensionless.Abs |
Dimensionless.Abs.minus(Dimensionless.Rel v)
Absolute scalar minus Relative scalar = Absolute scalar.
|
Dimensionless.Rel |
Dimensionless.Rel.multiplyBy(Dimensionless.Rel v)
Calculate the multiplication of Dimensionless and Dimensionless, which results in a Dimensionless scalar.
|
Dimensionless.Rel |
Dimensionless.Rel.plus(Dimensionless.Rel v)
Relative scalar plus Relative scalar = Relative scalar.
|
Dimensionless.Abs |
Dimensionless.Abs.plus(Dimensionless.Rel v)
Absolute scalar plus Relative scalar = Absolute scalar.
|
| Modifier and Type | Method and Description |
|---|---|
Dimensionless.Rel |
MutableDimensionlessVector.Rel.get(int index)
Retrieve the value stored at a specified index as a DoubleScalar.
|
Dimensionless.Rel |
DimensionlessVector.Rel.get(int index)
Retrieve the value stored at a specified index as a DoubleScalar.
|
| Constructor and Description |
|---|
Dense(Dimensionless.Rel[] values)
Construct a new Relative Dense Immutable Dimensionless Vector.
|
Dense(Dimensionless.Rel[] values)
Construct a new Relative Dense Immutable Dimensionless Vector.
|
Sparse(Dimensionless.Rel[] values)
Construct a new Relative Sparse Immutable Dimensionless Vector.
|
Sparse(Dimensionless.Rel[] values)
Construct a new Relative Sparse Immutable Dimensionless Vector.
|
Copyright © 2015 Delft University of Technology. All rights reserved.