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