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