Package | Description |
---|---|
org.opentrafficsim.core.value.vdouble.vector |
Double Vector storage and calculations with units, absolute/relative, sparse/dense.
|
Modifier and Type | Class and Description |
---|---|
static class |
MutableDoubleVector.Rel.Dense<U extends Unit<U>> |
static class |
MutableDoubleVector.Rel.Sparse<U extends Unit<U>> |
Modifier and Type | Method and Description |
---|---|
MutableDoubleVector.Rel<U> |
MutableDoubleVector.Rel.abs()
Set the value(s) to their absolute value.
|
MutableDoubleVector.Rel<U> |
MutableDoubleVector.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.
|
MutableDoubleVector.Rel<U> |
MutableDoubleVector.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.
|
MutableDoubleVector.Rel<U> |
MutableDoubleVector.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.
|
MutableDoubleVector.Rel<U> |
MutableDoubleVector.Rel.cbrt()
Set the value(s) to the(ir) cube root.
|
MutableDoubleVector.Rel<U> |
MutableDoubleVector.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.
|
MutableDoubleVector.Rel<U> |
MutableDoubleVector.Rel.cos()
Set the value(s) to the trigonometric cosine of the value(s).
|
MutableDoubleVector.Rel<U> |
MutableDoubleVector.Rel.cosh()
Set the value(s) to the hyperbolic cosine of the value(s).
|
protected MutableDoubleVector.Rel<U> |
MutableDoubleVector.decrementBy(DoubleVector.Abs<U> abs)
Decrement the values in this Relative MutableDoubleVector by the corresponding values in an Absolute
DoubleVector.
|
MutableDoubleVector.Rel<U> |
MutableDoubleVector.Rel.decrementBy(DoubleVector.Rel<U> decrement)
Decrement the value by the supplied value and return the result.
|
MutableDoubleVector.Rel<U> |
MutableDoubleVector.Rel.exp()
Set the value(s) to Euler's number e raised to the power of the value(s).
|
MutableDoubleVector.Rel<U> |
MutableDoubleVector.Rel.expm1()
Set the value(s) to Euler's number e raised to the power of the value(s) minus 1 (e^x - 1).
|
MutableDoubleVector.Rel<U> |
MutableDoubleVector.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.
|
MutableDoubleVector.Rel<U> |
MutableDoubleVector.Rel.incrementBy(DoubleVector.Rel<U> increment)
Increment the value by the supplied value and return the result.
|
MutableDoubleVector.Rel<U> |
MutableDoubleVector.Rel.inv()
Set the value(s) to the complement (1.0/x) of the value(s).
|
MutableDoubleVector.Rel<U> |
MutableDoubleVector.Rel.log()
Set the value(s) to the natural logarithm (base e) of the value(s).
|
MutableDoubleVector.Rel<U> |
MutableDoubleVector.Rel.log10()
Set the value(s) to the base 10 logarithm of the value(s).
|
MutableDoubleVector.Rel<U> |
MutableDoubleVector.Rel.log1p()
Set the value(s) to the natural logarithm of the sum of the value(s) and 1.
|
MutableDoubleVector.Rel<U> |
MutableDoubleVector.Rel.pow(double x)
Set the value(s) to the value(s) raised to the power of the argument.
|
MutableDoubleVector.Rel<U> |
MutableDoubleVector.Rel.rint()
Set the value(s) to the value(s) that are closest in value to the argument and equal to a mathematical integer.
|
MutableDoubleVector.Rel<U> |
MutableDoubleVector.Rel.round()
Set the value(s) to the closest long to the argument with ties rounding up.
|
MutableDoubleVector.Rel<U> |
MutableDoubleVector.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.
|
MutableDoubleVector.Rel<U> |
MutableDoubleVector.Rel.sin()
Set the value(s) to the trigonometric sine of the value(s).
|
MutableDoubleVector.Rel<U> |
MutableDoubleVector.Rel.sinh()
Set the value(s) to the hyperbolic sine of the value(s).
|
MutableDoubleVector.Rel<U> |
MutableDoubleVector.Rel.sqrt()
Set the value(s) to the correctly rounded positive square root of the value(s).
|
MutableDoubleVector.Rel<U> |
MutableDoubleVector.Rel.tan()
Set the value(s) to the trigonometric tangent of the value(s).
|
MutableDoubleVector.Rel<U> |
MutableDoubleVector.Rel.tanh()
Set the value(s) to the hyperbolic tangent of the value(s).
|
MutableDoubleVector.Rel<U> |
MutableDoubleVector.Rel.toDegrees()
Set the value(s) to approximately equivalent angle(s) measured in degrees.
|
MutableDoubleVector.Rel<U> |
MutableDoubleVector.Rel.toRadians()
Set the value(s) to approximately equivalent angle(s) measured in radians.
|
Copyright © 2014–2015 Delft University of Technology. All rights reserved.