public abstract class MutableMoneyPerLengthVector extends MutableDoubleVector.Rel<MoneyPerLengthUnit>
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 |
MutableMoneyPerLengthVector.Dense
Double Dense Relative Immutable MoneyPerLength class.
|
static class |
MutableMoneyPerLengthVector.Sparse
Double Sparse Relative Immutable MoneyPerLength class.
|
MutableDoubleVector.Abs<U extends Unit<U>>, MutableDoubleVector.Rel<U extends Unit<U>>data| Constructor and Description |
|---|
MutableMoneyPerLengthVector(MoneyPerLengthUnit unit) |
| Modifier and Type | Method and Description |
|---|---|
MutableMoneyPerLengthVector |
abs()
Set the value(s) to their absolute value.
|
MutableMoneyPerLengthVector |
acos()
Set the value(s) to the arc cosine of the value(s); the resulting angle is in the range 0.0 through pi.
|
MutableMoneyPerLengthVector |
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.
|
MutableMoneyPerLengthVector |
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.
|
MutableMoneyPerLengthVector |
cbrt()
Set the value(s) to the(ir) cube root.
|
MutableMoneyPerLengthVector |
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.
|
MutableMoneyPerLengthVector |
copy()
Create a deep copy of this MutableDoubleVector.
|
MutableMoneyPerLengthVector |
cos()
Set the value(s) to the trigonometric cosine of the value(s).
|
MutableMoneyPerLengthVector |
cosh()
Set the value(s) to the hyperbolic cosine of the value(s).
|
MoneyPerLengthVector |
divide(MoneyPerLengthVector rel)
Divide this Relative value by a Relative value for a vector or matrix.
|
MoneyPerLengthVector |
divide(MutableMoneyPerLengthVector rel)
Divide this Relative value by a Relative value for a vector or matrix.
|
MutableMoneyPerLengthVector |
divideBy(double constant)
Scale the value(s) by the inverse of a factor; i.e.
|
MutableMoneyPerLengthVector |
exp()
Set the value(s) to Euler's number e raised to the power of the value(s).
|
MutableMoneyPerLengthVector |
expm1()
Set the value(s) to Euler's number e raised to the power of the value(s) minus 1 (e^x - 1).
|
MutableMoneyPerLengthVector |
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.
|
MoneyPerLength |
get(int index)
Retrieve the value stored at a specified index as a DoubleScalar.
|
abstract MoneyPerLengthVector |
immutable()
Create a immutable version of this MutableDoubleVector.
|
MutableMoneyPerLengthVector |
inv()
Set the value(s) to the complement (1.0/x) of the value(s).
|
MutableMoneyPerLengthVector |
log()
Set the value(s) to the natural logarithm (base e) of the value(s).
|
MutableMoneyPerLengthVector |
log10()
Set the value(s) to the base 10 logarithm of the value(s).
|
MutableMoneyPerLengthVector |
log1p()
Set the value(s) to the natural logarithm of the sum of the value(s) and 1.
|
MoneyPerLengthVector |
minus(MoneyPerLengthVector rel)
Subtract a Relative value from this Relative value for a vector or matrix.
|
MoneyPerLengthVector |
minus(MutableMoneyPerLengthVector rel)
Subtract a Relative value from this Relative value for a vector or matrix.
|
MutableMoneyPerLengthVector |
multiplyBy(double constant)
Scale the value(s) by a factor.
|
abstract MutableMoneyPerLengthVector |
mutable()
Create a mutable version of this DoubleVector.
|
MoneyPerLengthVector |
plus(MoneyPerLengthVector rel)
Add a Relative value to this Relative value for a vector or matrix.
|
MoneyPerLengthVector |
plus(MutableMoneyPerLengthVector rel)
Add a Relative value to this Relative value for a vector or matrix.
|
MutableMoneyPerLengthVector |
pow(double x)
Set the value(s) to the value(s) raised to the power of the argument.
|
MutableMoneyPerLengthVector |
rint()
Set the value(s) to the value(s) that are closest in value to the argument and equal to a mathematical integer.
|
MutableMoneyPerLengthVector |
round()
Set the value(s) to the closest long to the argument with ties rounding up.
|
MutableMoneyPerLengthVector |
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.
|
MutableMoneyPerLengthVector |
sin()
Set the value(s) to the trigonometric sine of the value(s).
|
MutableMoneyPerLengthVector |
sinh()
Set the value(s) to the hyperbolic sine of the value(s).
|
MutableMoneyPerLengthVector |
sqrt()
Set the value(s) to the correctly rounded positive square root of the value(s).
|
MutableMoneyPerLengthVector |
tan()
Set the value(s) to the trigonometric tangent of the value(s).
|
MutableMoneyPerLengthVector |
tanh()
Set the value(s) to the hyperbolic tangent of the value(s).
|
MoneyPerLengthVector |
times(MoneyPerLengthVector rel)
Multiply a Relative value with this Relative value for a vector or matrix.
|
MoneyPerLengthVector |
times(MutableMoneyPerLengthVector rel)
Multiply a Relative value with this Relative value for a vector or matrix.
|
MutableMoneyPerLengthVector |
toDegrees()
Set the value(s) to approximately equivalent angle(s) measured in degrees.
|
abstract MutableMoneyPerLengthVector |
toDense()
Create a dense version of this DoubleVector.
|
MutableMoneyPerLengthVector |
toRadians()
Set the value(s) to approximately equivalent angle(s) measured in radians.
|
abstract MutableMoneyPerLengthVector |
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 MutableMoneyPerLengthVector(MoneyPerLengthUnit unit)
unit - the unit to usepublic abstract MutableMoneyPerLengthVector mutable()
mutable in interface DoubleVectorInterface<MoneyPerLengthUnit>mutable in class MutableDoubleVector.Rel<MoneyPerLengthUnit>public abstract MoneyPerLengthVector immutable()
immutable in interface MutableDoubleVectorInterface<MoneyPerLengthUnit>immutable in class MutableDoubleVector.Rel<MoneyPerLengthUnit>public abstract MutableMoneyPerLengthVector toDense()
toDense in interface DoubleVectorInterface<MoneyPerLengthUnit>toDense in interface MutableDoubleVectorInterface<MoneyPerLengthUnit>toDense in class MutableDoubleVector.Rel<MoneyPerLengthUnit>public abstract MutableMoneyPerLengthVector toSparse()
toSparse in interface DoubleVectorInterface<MoneyPerLengthUnit>toSparse in interface MutableDoubleVectorInterface<MoneyPerLengthUnit>toSparse in class MutableDoubleVector.Rel<MoneyPerLengthUnit>public final MoneyPerLength get(int index) throws ValueException
get in interface DoubleVectorInterface<MoneyPerLengthUnit>get in class MutableDoubleVector.Rel<MoneyPerLengthUnit>index - int; index of the value to retrieveValueException - when index out of range (index < 0 or index >= size())public final MutableMoneyPerLengthVector copy()
copy in interface MutableDoubleVectorInterface<MoneyPerLengthUnit>copy in class MutableDoubleVector.Rel<MoneyPerLengthUnit>public final MoneyPerLengthVector plus(MoneyPerLengthVector rel) throws ValueException
rel - the right operandValueException - in case this vector or matrix and the operand have a different sizepublic final MoneyPerLengthVector minus(MoneyPerLengthVector rel) throws ValueException
rel - the right operandValueException - in case this vector or matrix and the operand have a different sizepublic final MoneyPerLengthVector times(MoneyPerLengthVector rel) throws ValueException
rel - the right operandValueException - in case this vector or matrix and the operand have a different sizepublic final MoneyPerLengthVector divide(MoneyPerLengthVector rel) throws ValueException
rel - the right operandValueException - in case this vector or matrix and the operand have a different sizepublic final MoneyPerLengthVector plus(MutableMoneyPerLengthVector rel) throws ValueException
rel - the right operandValueException - in case this vector or matrix and the operand have a different sizepublic final MoneyPerLengthVector minus(MutableMoneyPerLengthVector rel) throws ValueException
rel - the right operandValueException - in case this vector or matrix and the operand have a different sizepublic final MoneyPerLengthVector times(MutableMoneyPerLengthVector rel) throws ValueException
rel - the right operandValueException - in case this vector or matrix and the operand have a different sizepublic final MoneyPerLengthVector divide(MutableMoneyPerLengthVector rel) throws ValueException
rel - the right operandValueException - in case this vector or matrix and the operand have a different sizepublic final MutableMoneyPerLengthVector abs()
abs in interface MathFunctions<MutableDoubleVector.Rel<MoneyPerLengthUnit>>abs in class MutableDoubleVector.Rel<MoneyPerLengthUnit>public final MutableMoneyPerLengthVector acos()
acos in interface MathFunctions<MutableDoubleVector.Rel<MoneyPerLengthUnit>>acos in class MutableDoubleVector.Rel<MoneyPerLengthUnit>public final MutableMoneyPerLengthVector asin()
asin in interface MathFunctions<MutableDoubleVector.Rel<MoneyPerLengthUnit>>asin in class MutableDoubleVector.Rel<MoneyPerLengthUnit>public final MutableMoneyPerLengthVector atan()
atan in interface MathFunctions<MutableDoubleVector.Rel<MoneyPerLengthUnit>>atan in class MutableDoubleVector.Rel<MoneyPerLengthUnit>public final MutableMoneyPerLengthVector cbrt()
cbrt in interface MathFunctions<MutableDoubleVector.Rel<MoneyPerLengthUnit>>cbrt in class MutableDoubleVector.Rel<MoneyPerLengthUnit>public final MutableMoneyPerLengthVector ceil()
ceil in interface MathFunctions<MutableDoubleVector.Rel<MoneyPerLengthUnit>>ceil in class MutableDoubleVector.Rel<MoneyPerLengthUnit>public final MutableMoneyPerLengthVector cos()
cos in interface MathFunctions<MutableDoubleVector.Rel<MoneyPerLengthUnit>>cos in class MutableDoubleVector.Rel<MoneyPerLengthUnit>public final MutableMoneyPerLengthVector cosh()
cosh in interface MathFunctions<MutableDoubleVector.Rel<MoneyPerLengthUnit>>cosh in class MutableDoubleVector.Rel<MoneyPerLengthUnit>public final MutableMoneyPerLengthVector exp()
exp in interface MathFunctions<MutableDoubleVector.Rel<MoneyPerLengthUnit>>exp in class MutableDoubleVector.Rel<MoneyPerLengthUnit>public final MutableMoneyPerLengthVector expm1()
expm1 in interface MathFunctions<MutableDoubleVector.Rel<MoneyPerLengthUnit>>expm1 in class MutableDoubleVector.Rel<MoneyPerLengthUnit>public final MutableMoneyPerLengthVector floor()
floor in interface MathFunctions<MutableDoubleVector.Rel<MoneyPerLengthUnit>>floor in class MutableDoubleVector.Rel<MoneyPerLengthUnit>public final MutableMoneyPerLengthVector log()
log in interface MathFunctions<MutableDoubleVector.Rel<MoneyPerLengthUnit>>log in class MutableDoubleVector.Rel<MoneyPerLengthUnit>public final MutableMoneyPerLengthVector log10()
log10 in interface MathFunctions<MutableDoubleVector.Rel<MoneyPerLengthUnit>>log10 in class MutableDoubleVector.Rel<MoneyPerLengthUnit>public final MutableMoneyPerLengthVector log1p()
log1p in interface MathFunctions<MutableDoubleVector.Rel<MoneyPerLengthUnit>>log1p in class MutableDoubleVector.Rel<MoneyPerLengthUnit>public final MutableMoneyPerLengthVector pow(double x)
pow in interface MathFunctions<MutableDoubleVector.Rel<MoneyPerLengthUnit>>pow in class MutableDoubleVector.Rel<MoneyPerLengthUnit>x - double; the value to use as the powerpublic final MutableMoneyPerLengthVector rint()
rint in interface MathFunctions<MutableDoubleVector.Rel<MoneyPerLengthUnit>>rint in class MutableDoubleVector.Rel<MoneyPerLengthUnit>public final MutableMoneyPerLengthVector round()
round in interface MathFunctions<MutableDoubleVector.Rel<MoneyPerLengthUnit>>round in class MutableDoubleVector.Rel<MoneyPerLengthUnit>public final MutableMoneyPerLengthVector signum()
signum in interface MathFunctions<MutableDoubleVector.Rel<MoneyPerLengthUnit>>signum in class MutableDoubleVector.Rel<MoneyPerLengthUnit>public final MutableMoneyPerLengthVector sin()
sin in interface MathFunctions<MutableDoubleVector.Rel<MoneyPerLengthUnit>>sin in class MutableDoubleVector.Rel<MoneyPerLengthUnit>public final MutableMoneyPerLengthVector sinh()
sinh in interface MathFunctions<MutableDoubleVector.Rel<MoneyPerLengthUnit>>sinh in class MutableDoubleVector.Rel<MoneyPerLengthUnit>public final MutableMoneyPerLengthVector sqrt()
sqrt in interface MathFunctions<MutableDoubleVector.Rel<MoneyPerLengthUnit>>sqrt in class MutableDoubleVector.Rel<MoneyPerLengthUnit>public final MutableMoneyPerLengthVector tan()
tan in interface MathFunctions<MutableDoubleVector.Rel<MoneyPerLengthUnit>>tan in class MutableDoubleVector.Rel<MoneyPerLengthUnit>public final MutableMoneyPerLengthVector tanh()
tanh in interface MathFunctions<MutableDoubleVector.Rel<MoneyPerLengthUnit>>tanh in class MutableDoubleVector.Rel<MoneyPerLengthUnit>public final MutableMoneyPerLengthVector toDegrees()
toDegrees in interface MathFunctions<MutableDoubleVector.Rel<MoneyPerLengthUnit>>toDegrees in class MutableDoubleVector.Rel<MoneyPerLengthUnit>public final MutableMoneyPerLengthVector toRadians()
toRadians in interface MathFunctions<MutableDoubleVector.Rel<MoneyPerLengthUnit>>toRadians in class MutableDoubleVector.Rel<MoneyPerLengthUnit>public final MutableMoneyPerLengthVector inv()
inv in interface MathFunctions<MutableDoubleVector.Rel<MoneyPerLengthUnit>>inv in class MutableDoubleVector.Rel<MoneyPerLengthUnit>public final MutableMoneyPerLengthVector multiplyBy(double constant)
multiplyBy in interface DoubleMathFunctions<MutableDoubleVector.Rel<MoneyPerLengthUnit>>multiplyBy in class MutableDoubleVector.Rel<MoneyPerLengthUnit>constant - double; the multiplierpublic final MutableMoneyPerLengthVector divideBy(double constant)
divideBy in interface DoubleMathFunctions<MutableDoubleVector.Rel<MoneyPerLengthUnit>>divideBy in class MutableDoubleVector.Rel<MoneyPerLengthUnit>constant - double; the divisorCopyright © 2015 Delft University of Technology. All rights reserved.