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