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