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