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