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