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