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