U - Unit the unit for which this Vector will be createdpublic abstract static class MutableFloatVector.Abs<U extends Unit<U>> extends MutableFloatVector<U> implements Absolute, MathFunctions<MutableFloatVector.Abs<U>>, FloatMathFunctions<MutableFloatVector.Abs<U>>, FunctionsAbs<U,FloatVector.Abs<U>,FloatVector.Rel<U>>
| Modifier and Type | Class and Description |
|---|---|
static class |
MutableFloatVector.Abs.Dense<U extends Unit<U>>
ABSOLUTE DENSE implementation of MutableFloatVector.
|
static class |
MutableFloatVector.Abs.Sparse<U extends Unit<U>>
ABSOLUTE SPARSE implementation of MutableFloatVector.
|
MutableFloatVector.Abs<U extends Unit<U>>, MutableFloatVector.Rel<U extends Unit<U>>data| Modifier | Constructor and Description |
|---|---|
protected |
Abs(U unit)
Construct a new Absolute MutableFloatVector.
|
| Modifier and Type | Method and Description |
|---|---|
MutableFloatVector.Abs<U> |
abs()
Set the value(s) to their absolute value.
|
MutableFloatVector.Abs<U> |
acos()
Set the value(s) to the arc cosine of the value(s); the resulting angle is in the range 0.0 through pi.
|
MutableFloatVector.Abs<U> |
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.
|
MutableFloatVector.Abs<U> |
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.
|
MutableFloatVector.Abs<U> |
cbrt()
Set the value(s) to the(ir) cube root.
|
MutableFloatVector.Abs<U> |
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.
|
abstract MutableFloatVector.Abs<U> |
copy()
Create a deep copy of this MutableFloatVector.
|
MutableFloatVector.Abs<U> |
cos()
Set the value(s) to the trigonometric cosine of the value(s).
|
MutableFloatVector.Abs<U> |
cosh()
Set the value(s) to the hyperbolic cosine of the value(s).
|
MutableFloatVector.Abs<U> |
decrementBy(FloatVector.Rel<U> decrement)
Decrement the value by the supplied value and return the result.
|
MutableFloatVector.Abs<U> |
divideBy(float constant)
Scale the value(s) by the inverse of a factor; i.e.
|
MutableFloatVector.Abs<U> |
exp()
Set the value(s) to Euler's number e raised to the power of the value(s).
|
MutableFloatVector.Abs<U> |
expm1()
Set the value(s) to Euler's number e raised to the power of the value(s) minus 1 (e^x - 1).
|
MutableFloatVector.Abs<U> |
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.
|
FloatScalar.Abs<U> |
get(int index)
Retrieve the value stored at a specified index as a FloatScalar.
|
abstract FloatVector.Abs<U> |
immutable()
Create a immutable version of this MutableFloatVector.
|
MutableFloatVector.Abs<U> |
incrementBy(FloatVector.Rel<U> increment)
Increment the value by the supplied value and return the result.
|
MutableFloatVector.Abs<U> |
inv()
Set the value(s) to the complement (1.0/x) of the value(s).
|
MutableFloatVector.Abs<U> |
log()
Set the value(s) to the natural logarithm (base e) of the value(s).
|
MutableFloatVector.Abs<U> |
log10()
Set the value(s) to the base 10 logarithm of the value(s).
|
MutableFloatVector.Abs<U> |
log1p()
Set the value(s) to the natural logarithm of the sum of the value(s) and 1.
|
FloatVector.Rel<U> |
minus(FloatVector.Abs<U> rel)
Subtract an Absolute value from this Absolute value for a vector or matrix.
|
FloatVector.Abs<U> |
minus(FloatVector.Rel<U> rel)
Subtract a Relative value from this Absolute value for a vector or matrix.
|
MutableFloatVector.Abs<U> |
multiplyBy(float constant)
Scale the value(s) by a factor.
|
abstract MutableFloatVector.Abs<U> |
mutable()
Create a mutable version of this FloatVector.
|
FloatVector.Abs<U> |
plus(FloatVector.Rel<U> rel)
Add a Relative value to this Absolute value for a vector or matrix.
|
MutableFloatVector.Abs<U> |
pow(double x)
Set the value(s) to the value(s) raised to the power of the argument.
|
MutableFloatVector.Abs<U> |
rint()
Set the value(s) to the value(s) that are closest in value to the argument and equal to a mathematical integer.
|
MutableFloatVector.Abs<U> |
round()
Set the value(s) to the closest long to the argument with ties rounding up.
|
MutableFloatVector.Abs<U> |
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.
|
MutableFloatVector.Abs<U> |
sin()
Set the value(s) to the trigonometric sine of the value(s).
|
MutableFloatVector.Abs<U> |
sinh()
Set the value(s) to the hyperbolic sine of the value(s).
|
MutableFloatVector.Abs<U> |
sqrt()
Set the value(s) to the correctly rounded positive square root of the value(s).
|
MutableFloatVector.Abs<U> |
tan()
Set the value(s) to the trigonometric tangent of the value(s).
|
MutableFloatVector.Abs<U> |
tanh()
Set the value(s) to the hyperbolic tangent of the value(s).
|
MutableFloatVector.Abs<U> |
toDegrees()
Set the value(s) to approximately equivalent angle(s) measured in degrees.
|
abstract MutableFloatVector.Abs<U> |
toDense()
Create a dense version of this FloatVector.
|
MutableFloatVector.Abs<U> |
toRadians()
Set the value(s) to approximately equivalent angle(s) measured in radians.
|
abstract MutableFloatVector.Abs<U> |
toSparse()
Create a sparse version of this FloatVector.
|
assign, 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, zSumprotected Abs(U unit)
unit - U; the unit of the new Absolute MutableFloatVectorpublic abstract MutableFloatVector.Abs<U> mutable()
mutable in interface FloatVectorInterface<U extends Unit<U>>public abstract FloatVector.Abs<U> immutable()
immutable in interface MutableFloatVectorInterface<U extends Unit<U>>public abstract MutableFloatVector.Abs<U> copy()
copy in interface MutableFloatVectorInterface<U extends Unit<U>>public abstract MutableFloatVector.Abs<U> toDense()
toDense in interface FloatVectorInterface<U extends Unit<U>>toDense in interface MutableFloatVectorInterface<U extends Unit<U>>public abstract MutableFloatVector.Abs<U> toSparse()
toSparse in interface FloatVectorInterface<U extends Unit<U>>toSparse in interface MutableFloatVectorInterface<U extends Unit<U>>public FloatScalar.Abs<U> get(int index) throws ValueException
get in interface FloatVectorInterface<U extends Unit<U>>index - int; index of the value to retrieveValueException - when index out of range (index < 0 or index >= size())public final MutableFloatVector.Abs<U> incrementBy(FloatVector.Rel<U> increment) throws ValueException
increment - FloatVector.Rel<U>; amount by which the value is incrementedValueException - when the size of increment is not identical to the size of thispublic final MutableFloatVector.Abs<U> decrementBy(FloatVector.Rel<U> decrement) throws ValueException
decrement - FloatVector.Rel<U>; amount by which the value is decrementedValueException - when the size of increment is not identical to the size of thispublic FloatVector.Abs<U> plus(FloatVector.Rel<U> rel) throws ValueException
plus in interface FunctionsAbs<U extends Unit<U>,FloatVector.Abs<U extends Unit<U>>,FloatVector.Rel<U extends Unit<U>>>rel - R the right operandValueException - in case this vector and the operand have a different sizepublic FloatVector.Abs<U> minus(FloatVector.Rel<U> rel) throws ValueException
minus in interface FunctionsAbs<U extends Unit<U>,FloatVector.Abs<U extends Unit<U>>,FloatVector.Rel<U extends Unit<U>>>rel - R the right operandValueException - in case this vector and the operand have a different sizepublic FloatVector.Rel<U> minus(FloatVector.Abs<U> rel) throws ValueException
minus in interface FunctionsAbs<U extends Unit<U>,FloatVector.Abs<U extends Unit<U>>,FloatVector.Rel<U extends Unit<U>>>rel - A the right operandValueException - in case this vector and the operand have a different sizepublic MutableFloatVector.Abs<U> abs()
abs in interface MathFunctions<MutableFloatVector.Abs<U extends Unit<U>>>public MutableFloatVector.Abs<U> acos()
acos in interface MathFunctions<MutableFloatVector.Abs<U extends Unit<U>>>public MutableFloatVector.Abs<U> asin()
asin in interface MathFunctions<MutableFloatVector.Abs<U extends Unit<U>>>public MutableFloatVector.Abs<U> atan()
atan in interface MathFunctions<MutableFloatVector.Abs<U extends Unit<U>>>public MutableFloatVector.Abs<U> cbrt()
cbrt in interface MathFunctions<MutableFloatVector.Abs<U extends Unit<U>>>public MutableFloatVector.Abs<U> ceil()
ceil in interface MathFunctions<MutableFloatVector.Abs<U extends Unit<U>>>public MutableFloatVector.Abs<U> cos()
cos in interface MathFunctions<MutableFloatVector.Abs<U extends Unit<U>>>public MutableFloatVector.Abs<U> cosh()
cosh in interface MathFunctions<MutableFloatVector.Abs<U extends Unit<U>>>public MutableFloatVector.Abs<U> exp()
exp in interface MathFunctions<MutableFloatVector.Abs<U extends Unit<U>>>public MutableFloatVector.Abs<U> expm1()
expm1 in interface MathFunctions<MutableFloatVector.Abs<U extends Unit<U>>>public MutableFloatVector.Abs<U> floor()
floor in interface MathFunctions<MutableFloatVector.Abs<U extends Unit<U>>>public MutableFloatVector.Abs<U> log()
log in interface MathFunctions<MutableFloatVector.Abs<U extends Unit<U>>>public MutableFloatVector.Abs<U> log10()
log10 in interface MathFunctions<MutableFloatVector.Abs<U extends Unit<U>>>public MutableFloatVector.Abs<U> log1p()
log1p in interface MathFunctions<MutableFloatVector.Abs<U extends Unit<U>>>public MutableFloatVector.Abs<U> pow(double x)
pow in interface MathFunctions<MutableFloatVector.Abs<U extends Unit<U>>>x - double; the value to use as the powerpublic MutableFloatVector.Abs<U> rint()
rint in interface MathFunctions<MutableFloatVector.Abs<U extends Unit<U>>>public MutableFloatVector.Abs<U> round()
round in interface MathFunctions<MutableFloatVector.Abs<U extends Unit<U>>>public MutableFloatVector.Abs<U> signum()
signum in interface MathFunctions<MutableFloatVector.Abs<U extends Unit<U>>>public MutableFloatVector.Abs<U> sin()
sin in interface MathFunctions<MutableFloatVector.Abs<U extends Unit<U>>>public MutableFloatVector.Abs<U> sinh()
sinh in interface MathFunctions<MutableFloatVector.Abs<U extends Unit<U>>>public MutableFloatVector.Abs<U> sqrt()
sqrt in interface MathFunctions<MutableFloatVector.Abs<U extends Unit<U>>>public MutableFloatVector.Abs<U> tan()
tan in interface MathFunctions<MutableFloatVector.Abs<U extends Unit<U>>>public MutableFloatVector.Abs<U> tanh()
tanh in interface MathFunctions<MutableFloatVector.Abs<U extends Unit<U>>>public MutableFloatVector.Abs<U> toDegrees()
toDegrees in interface MathFunctions<MutableFloatVector.Abs<U extends Unit<U>>>public MutableFloatVector.Abs<U> toRadians()
toRadians in interface MathFunctions<MutableFloatVector.Abs<U extends Unit<U>>>public MutableFloatVector.Abs<U> inv()
inv in interface MathFunctions<MutableFloatVector.Abs<U extends Unit<U>>>public MutableFloatVector.Abs<U> multiplyBy(float constant)
multiplyBy in interface FloatMathFunctions<MutableFloatVector.Abs<U extends Unit<U>>>constant - float; the multiplierpublic MutableFloatVector.Abs<U> divideBy(float constant)
divideBy in interface FloatMathFunctions<MutableFloatVector.Abs<U extends Unit<U>>>constant - float; the divisorCopyright © 2015 Delft University of Technology. All rights reserved.