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