public abstract class MutableLinearDensityVector extends MutableDoubleVector.Rel<LinearDensityUnit>
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License.
$LastChangedDate: 2015-09-29 14:14:28 +0200 (Tue, 29 Sep 2015) $, @version $Revision: 73 $, by $Author: pknoppers $, initial
version Sep 5, 2015
| Modifier and Type | Class and Description |
|---|---|
static class |
MutableLinearDensityVector.Dense
Double Dense Relative Immutable LinearDensity class.
|
static class |
MutableLinearDensityVector.Sparse
Double Sparse Relative Immutable LinearDensity class.
|
MutableDoubleVector.Abs<U extends Unit<U>>, MutableDoubleVector.Rel<U extends Unit<U>>data| Constructor and Description |
|---|
MutableLinearDensityVector(LinearDensityUnit unit) |
| Modifier and Type | Method and Description |
|---|---|
MutableLinearDensityVector |
abs()
Set the value(s) to their absolute value.
|
MutableLinearDensityVector |
acos()
Set the value(s) to the arc cosine of the value(s); the resulting angle is in the range 0.0 through pi.
|
MutableLinearDensityVector |
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.
|
MutableLinearDensityVector |
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.
|
MutableLinearDensityVector |
cbrt()
Set the value(s) to the(ir) cube root.
|
MutableLinearDensityVector |
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.
|
MutableLinearDensityVector |
copy()
Create a deep copy of this MutableDoubleVector.
|
MutableLinearDensityVector |
cos()
Set the value(s) to the trigonometric cosine of the value(s).
|
MutableLinearDensityVector |
cosh()
Set the value(s) to the hyperbolic cosine of the value(s).
|
LinearDensityVector |
divide(LinearDensityVector rel)
Divide this Relative value by a Relative value for a vector or matrix.
|
LinearDensityVector |
divide(MutableLinearDensityVector rel)
Divide this Relative value by a Relative value for a vector or matrix.
|
MutableLinearDensityVector |
divideBy(double constant)
Scale the value(s) by the inverse of a factor; i.e.
|
MutableLinearDensityVector |
exp()
Set the value(s) to Euler's number e raised to the power of the value(s).
|
MutableLinearDensityVector |
expm1()
Set the value(s) to Euler's number e raised to the power of the value(s) minus 1 (e^x - 1).
|
MutableLinearDensityVector |
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.
|
LinearDensity |
get(int index)
Retrieve the value stored at a specified index as a DoubleScalar.
|
abstract LinearDensityVector |
immutable()
Create a immutable version of this MutableDoubleVector.
|
MutableLinearDensityVector |
inv()
Set the value(s) to the complement (1.0/x) of the value(s).
|
MutableLinearDensityVector |
log()
Set the value(s) to the natural logarithm (base e) of the value(s).
|
MutableLinearDensityVector |
log10()
Set the value(s) to the base 10 logarithm of the value(s).
|
MutableLinearDensityVector |
log1p()
Set the value(s) to the natural logarithm of the sum of the value(s) and 1.
|
LinearDensityVector |
minus(LinearDensityVector rel)
Subtract a Relative value from this Relative value for a vector or matrix.
|
LinearDensityVector |
minus(MutableLinearDensityVector rel)
Subtract a Relative value from this Relative value for a vector or matrix.
|
MutableLinearDensityVector |
multiplyBy(double constant)
Scale the value(s) by a factor.
|
abstract MutableLinearDensityVector |
mutable()
Create a mutable version of this DoubleVector.
|
LinearDensityVector |
plus(LinearDensityVector rel)
Add a Relative value to this Relative value for a vector or matrix.
|
LinearDensityVector |
plus(MutableLinearDensityVector rel)
Add a Relative value to this Relative value for a vector or matrix.
|
MutableLinearDensityVector |
pow(double x)
Set the value(s) to the value(s) raised to the power of the argument.
|
MutableLinearDensityVector |
rint()
Set the value(s) to the value(s) that are closest in value to the argument and equal to a mathematical integer.
|
MutableLinearDensityVector |
round()
Set the value(s) to the closest long to the argument with ties rounding up.
|
MutableLinearDensityVector |
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.
|
MutableLinearDensityVector |
sin()
Set the value(s) to the trigonometric sine of the value(s).
|
MutableLinearDensityVector |
sinh()
Set the value(s) to the hyperbolic sine of the value(s).
|
MutableLinearDensityVector |
sqrt()
Set the value(s) to the correctly rounded positive square root of the value(s).
|
MutableLinearDensityVector |
tan()
Set the value(s) to the trigonometric tangent of the value(s).
|
MutableLinearDensityVector |
tanh()
Set the value(s) to the hyperbolic tangent of the value(s).
|
LinearDensityVector |
times(LinearDensityVector rel)
Multiply a Relative value with this Relative value for a vector or matrix.
|
LinearDensityVector |
times(MutableLinearDensityVector rel)
Multiply a Relative value with this Relative value for a vector or matrix.
|
MutableLinearDensityVector |
toDegrees()
Set the value(s) to approximately equivalent angle(s) measured in degrees.
|
abstract MutableLinearDensityVector |
toDense()
Create a dense version of this DoubleVector.
|
MutableLinearDensityVector |
toRadians()
Set the value(s) to approximately equivalent angle(s) measured in radians.
|
abstract MutableLinearDensityVector |
toSparse()
Create a sparse version of this DoubleVector.
|
decrementBy, divide, incrementBy, minus, plus, plus, timesassign, checkCopyOnWrite, decrementByImpl, incrementByImpl, normalize, scaleValueByValue, scaleValueByValue, set, setInUnit, setSIcardinality, checkIndex, checkSize, checkSize, equals, getData, getInUnit, getInUnit, getSI, getValuesInUnit, getValuesInUnit, getValuesSI, hashCode, initializeSparse, initializeSparseMA, initializeSparseMR, safeGet, safeSet, size, toString, toString, toString, toString, zSumexpressAsSIUnit, expressAsSpecifiedUnit, getUnit, isAbsolute, isRelativeclone, finalize, getClass, notify, notifyAll, wait, wait, waitcardinality, getInUnit, getInUnit, getSI, getValuesInUnit, getValuesInUnit, getValuesSI, size, toString, toString, toString, toString, zSumpublic MutableLinearDensityVector(LinearDensityUnit unit)
unit - the unit to usepublic abstract MutableLinearDensityVector mutable()
mutable in interface DoubleVectorInterface<LinearDensityUnit>mutable in class MutableDoubleVector.Rel<LinearDensityUnit>public abstract LinearDensityVector immutable()
immutable in interface MutableDoubleVectorInterface<LinearDensityUnit>immutable in class MutableDoubleVector.Rel<LinearDensityUnit>public abstract MutableLinearDensityVector toDense()
toDense in interface DoubleVectorInterface<LinearDensityUnit>toDense in interface MutableDoubleVectorInterface<LinearDensityUnit>toDense in class MutableDoubleVector.Rel<LinearDensityUnit>public abstract MutableLinearDensityVector toSparse()
toSparse in interface DoubleVectorInterface<LinearDensityUnit>toSparse in interface MutableDoubleVectorInterface<LinearDensityUnit>toSparse in class MutableDoubleVector.Rel<LinearDensityUnit>public final LinearDensity get(int index) throws ValueException
get in interface DoubleVectorInterface<LinearDensityUnit>get in class MutableDoubleVector.Rel<LinearDensityUnit>index - int; index of the value to retrieveValueException - when index out of range (index < 0 or index >= size())public final MutableLinearDensityVector copy()
copy in interface MutableDoubleVectorInterface<LinearDensityUnit>copy in class MutableDoubleVector.Rel<LinearDensityUnit>public final LinearDensityVector plus(LinearDensityVector rel) throws ValueException
rel - the right operandValueException - in case this vector or matrix and the operand have a different sizepublic final LinearDensityVector minus(LinearDensityVector rel) throws ValueException
rel - the right operandValueException - in case this vector or matrix and the operand have a different sizepublic final LinearDensityVector times(LinearDensityVector rel) throws ValueException
rel - the right operandValueException - in case this vector or matrix and the operand have a different sizepublic final LinearDensityVector divide(LinearDensityVector rel) throws ValueException
rel - the right operandValueException - in case this vector or matrix and the operand have a different sizepublic final LinearDensityVector plus(MutableLinearDensityVector rel) throws ValueException
rel - the right operandValueException - in case this vector or matrix and the operand have a different sizepublic final LinearDensityVector minus(MutableLinearDensityVector rel) throws ValueException
rel - the right operandValueException - in case this vector or matrix and the operand have a different sizepublic final LinearDensityVector times(MutableLinearDensityVector rel) throws ValueException
rel - the right operandValueException - in case this vector or matrix and the operand have a different sizepublic final LinearDensityVector divide(MutableLinearDensityVector rel) throws ValueException
rel - the right operandValueException - in case this vector or matrix and the operand have a different sizepublic final MutableLinearDensityVector abs()
abs in interface MathFunctions<MutableDoubleVector.Rel<LinearDensityUnit>>abs in class MutableDoubleVector.Rel<LinearDensityUnit>public final MutableLinearDensityVector acos()
acos in interface MathFunctions<MutableDoubleVector.Rel<LinearDensityUnit>>acos in class MutableDoubleVector.Rel<LinearDensityUnit>public final MutableLinearDensityVector asin()
asin in interface MathFunctions<MutableDoubleVector.Rel<LinearDensityUnit>>asin in class MutableDoubleVector.Rel<LinearDensityUnit>public final MutableLinearDensityVector atan()
atan in interface MathFunctions<MutableDoubleVector.Rel<LinearDensityUnit>>atan in class MutableDoubleVector.Rel<LinearDensityUnit>public final MutableLinearDensityVector cbrt()
cbrt in interface MathFunctions<MutableDoubleVector.Rel<LinearDensityUnit>>cbrt in class MutableDoubleVector.Rel<LinearDensityUnit>public final MutableLinearDensityVector ceil()
ceil in interface MathFunctions<MutableDoubleVector.Rel<LinearDensityUnit>>ceil in class MutableDoubleVector.Rel<LinearDensityUnit>public final MutableLinearDensityVector cos()
cos in interface MathFunctions<MutableDoubleVector.Rel<LinearDensityUnit>>cos in class MutableDoubleVector.Rel<LinearDensityUnit>public final MutableLinearDensityVector cosh()
cosh in interface MathFunctions<MutableDoubleVector.Rel<LinearDensityUnit>>cosh in class MutableDoubleVector.Rel<LinearDensityUnit>public final MutableLinearDensityVector exp()
exp in interface MathFunctions<MutableDoubleVector.Rel<LinearDensityUnit>>exp in class MutableDoubleVector.Rel<LinearDensityUnit>public final MutableLinearDensityVector expm1()
expm1 in interface MathFunctions<MutableDoubleVector.Rel<LinearDensityUnit>>expm1 in class MutableDoubleVector.Rel<LinearDensityUnit>public final MutableLinearDensityVector floor()
floor in interface MathFunctions<MutableDoubleVector.Rel<LinearDensityUnit>>floor in class MutableDoubleVector.Rel<LinearDensityUnit>public final MutableLinearDensityVector log()
log in interface MathFunctions<MutableDoubleVector.Rel<LinearDensityUnit>>log in class MutableDoubleVector.Rel<LinearDensityUnit>public final MutableLinearDensityVector log10()
log10 in interface MathFunctions<MutableDoubleVector.Rel<LinearDensityUnit>>log10 in class MutableDoubleVector.Rel<LinearDensityUnit>public final MutableLinearDensityVector log1p()
log1p in interface MathFunctions<MutableDoubleVector.Rel<LinearDensityUnit>>log1p in class MutableDoubleVector.Rel<LinearDensityUnit>public final MutableLinearDensityVector pow(double x)
pow in interface MathFunctions<MutableDoubleVector.Rel<LinearDensityUnit>>pow in class MutableDoubleVector.Rel<LinearDensityUnit>x - double; the value to use as the powerpublic final MutableLinearDensityVector rint()
rint in interface MathFunctions<MutableDoubleVector.Rel<LinearDensityUnit>>rint in class MutableDoubleVector.Rel<LinearDensityUnit>public final MutableLinearDensityVector round()
round in interface MathFunctions<MutableDoubleVector.Rel<LinearDensityUnit>>round in class MutableDoubleVector.Rel<LinearDensityUnit>public final MutableLinearDensityVector signum()
signum in interface MathFunctions<MutableDoubleVector.Rel<LinearDensityUnit>>signum in class MutableDoubleVector.Rel<LinearDensityUnit>public final MutableLinearDensityVector sin()
sin in interface MathFunctions<MutableDoubleVector.Rel<LinearDensityUnit>>sin in class MutableDoubleVector.Rel<LinearDensityUnit>public final MutableLinearDensityVector sinh()
sinh in interface MathFunctions<MutableDoubleVector.Rel<LinearDensityUnit>>sinh in class MutableDoubleVector.Rel<LinearDensityUnit>public final MutableLinearDensityVector sqrt()
sqrt in interface MathFunctions<MutableDoubleVector.Rel<LinearDensityUnit>>sqrt in class MutableDoubleVector.Rel<LinearDensityUnit>public final MutableLinearDensityVector tan()
tan in interface MathFunctions<MutableDoubleVector.Rel<LinearDensityUnit>>tan in class MutableDoubleVector.Rel<LinearDensityUnit>public final MutableLinearDensityVector tanh()
tanh in interface MathFunctions<MutableDoubleVector.Rel<LinearDensityUnit>>tanh in class MutableDoubleVector.Rel<LinearDensityUnit>public final MutableLinearDensityVector toDegrees()
toDegrees in interface MathFunctions<MutableDoubleVector.Rel<LinearDensityUnit>>toDegrees in class MutableDoubleVector.Rel<LinearDensityUnit>public final MutableLinearDensityVector toRadians()
toRadians in interface MathFunctions<MutableDoubleVector.Rel<LinearDensityUnit>>toRadians in class MutableDoubleVector.Rel<LinearDensityUnit>public final MutableLinearDensityVector inv()
inv in interface MathFunctions<MutableDoubleVector.Rel<LinearDensityUnit>>inv in class MutableDoubleVector.Rel<LinearDensityUnit>public final MutableLinearDensityVector multiplyBy(double constant)
multiplyBy in interface DoubleMathFunctions<MutableDoubleVector.Rel<LinearDensityUnit>>multiplyBy in class MutableDoubleVector.Rel<LinearDensityUnit>constant - double; the multiplierpublic final MutableLinearDensityVector divideBy(double constant)
divideBy in interface DoubleMathFunctions<MutableDoubleVector.Rel<LinearDensityUnit>>divideBy in class MutableDoubleVector.Rel<LinearDensityUnit>constant - double; the divisorCopyright © 2015 Delft University of Technology. All rights reserved.