| Package | Description |
|---|---|
| org.djunits.value.vdouble.vector |
Double Vector storage and calculations with units, absolute/relative, sparse/dense.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
MutableDensityVector.Dense
Double Dense Relative Immutable Density class.
|
static class |
MutableDensityVector.Sparse
Double Sparse Relative Immutable Density class.
|
| Modifier and Type | Method and Description |
|---|---|
MutableDensityVector |
MutableDensityVector.abs()
Set the value(s) to their absolute value.
|
MutableDensityVector |
MutableDensityVector.acos()
Set the value(s) to the arc cosine of the value(s); the resulting angle is in the range 0.0 through pi.
|
MutableDensityVector |
MutableDensityVector.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.
|
MutableDensityVector |
MutableDensityVector.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.
|
MutableDensityVector |
MutableDensityVector.cbrt()
Set the value(s) to the(ir) cube root.
|
MutableDensityVector |
MutableDensityVector.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.
|
MutableDensityVector |
MutableDensityVector.copy()
Create a deep copy of this MutableDoubleVector.
|
MutableDensityVector |
MutableDensityVector.cos()
Set the value(s) to the trigonometric cosine of the value(s).
|
MutableDensityVector |
MutableDensityVector.cosh()
Set the value(s) to the hyperbolic cosine of the value(s).
|
MutableDensityVector |
MutableDensityVector.divideBy(double constant)
Scale the value(s) by the inverse of a factor; i.e.
|
MutableDensityVector |
MutableDensityVector.exp()
Set the value(s) to Euler's number e raised to the power of the value(s).
|
MutableDensityVector |
MutableDensityVector.expm1()
Set the value(s) to Euler's number e raised to the power of the value(s) minus 1 (e^x - 1).
|
MutableDensityVector |
MutableDensityVector.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.
|
MutableDensityVector |
MutableDensityVector.inv()
Set the value(s) to the complement (1.0/x) of the value(s).
|
MutableDensityVector |
MutableDensityVector.log()
Set the value(s) to the natural logarithm (base e) of the value(s).
|
MutableDensityVector |
MutableDensityVector.log10()
Set the value(s) to the base 10 logarithm of the value(s).
|
MutableDensityVector |
MutableDensityVector.log1p()
Set the value(s) to the natural logarithm of the sum of the value(s) and 1.
|
MutableDensityVector |
MutableDensityVector.multiplyBy(double constant)
Scale the value(s) by a factor.
|
abstract MutableDensityVector |
MutableDensityVector.mutable()
Create a mutable version of this DoubleVector.
|
MutableDensityVector |
MutableDensityVector.Dense.mutable()
Create a mutable version of this DoubleVector.
|
MutableDensityVector |
MutableDensityVector.Sparse.mutable()
Create a mutable version of this DoubleVector.
|
abstract MutableDensityVector |
DensityVector.mutable()
Create a mutable version of this DoubleVector.
|
MutableDensityVector |
DensityVector.Dense.mutable()
Create a mutable version of this DoubleVector.
|
MutableDensityVector |
DensityVector.Sparse.mutable()
Create a mutable version of this DoubleVector.
|
MutableDensityVector |
MutableDensityVector.pow(double x)
Set the value(s) to the value(s) raised to the power of the argument.
|
MutableDensityVector |
MutableDensityVector.rint()
Set the value(s) to the value(s) that are closest in value to the argument and equal to a mathematical integer.
|
MutableDensityVector |
MutableDensityVector.round()
Set the value(s) to the closest long to the argument with ties rounding up.
|
MutableDensityVector |
MutableDensityVector.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.
|
MutableDensityVector |
MutableDensityVector.sin()
Set the value(s) to the trigonometric sine of the value(s).
|
MutableDensityVector |
MutableDensityVector.sinh()
Set the value(s) to the hyperbolic sine of the value(s).
|
MutableDensityVector |
MutableDensityVector.sqrt()
Set the value(s) to the correctly rounded positive square root of the value(s).
|
MutableDensityVector |
MutableDensityVector.tan()
Set the value(s) to the trigonometric tangent of the value(s).
|
MutableDensityVector |
MutableDensityVector.tanh()
Set the value(s) to the hyperbolic tangent of the value(s).
|
MutableDensityVector |
MutableDensityVector.toDegrees()
Set the value(s) to approximately equivalent angle(s) measured in degrees.
|
abstract MutableDensityVector |
MutableDensityVector.toDense()
Create a dense version of this DoubleVector.
|
MutableDensityVector |
MutableDensityVector.Dense.toDense()
Create a dense version of this DoubleVector.
|
MutableDensityVector |
MutableDensityVector.Sparse.toDense()
Create a dense version of this DoubleVector.
|
MutableDensityVector |
MutableDensityVector.toRadians()
Set the value(s) to approximately equivalent angle(s) measured in radians.
|
abstract MutableDensityVector |
MutableDensityVector.toSparse()
Create a sparse version of this DoubleVector.
|
MutableDensityVector |
MutableDensityVector.Dense.toSparse()
Create a sparse version of this DoubleVector.
|
MutableDensityVector |
MutableDensityVector.Sparse.toSparse()
Create a sparse version of this DoubleVector.
|
| Modifier and Type | Method and Description |
|---|---|
DensityVector |
MutableDensityVector.divide(MutableDensityVector rel)
Divide this Relative value by a Relative value for a vector or matrix.
|
DensityVector |
MutableDensityVector.minus(MutableDensityVector rel)
Subtract a Relative value from this Relative value for a vector or matrix.
|
DensityVector |
MutableDensityVector.plus(MutableDensityVector rel)
Add a Relative value to this Relative value for a vector or matrix.
|
DensityVector |
MutableDensityVector.times(MutableDensityVector rel)
Multiply a Relative value with this Relative value for a vector or matrix.
|
Copyright © 2015 Delft University of Technology. All rights reserved.