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