U
- Unitpublic abstract static class MutableFloatVector.Rel<U extends Unit<U>> extends MutableFloatVector<U> implements Relative
Modifier and Type | Class and Description |
---|---|
static class |
MutableFloatVector.Rel.Dense<U extends Unit<U>> |
static class |
MutableFloatVector.Rel.Sparse<U extends Unit<U>> |
MutableFloatVector.Abs<U extends Unit<U>>, MutableFloatVector.Rel<U extends Unit<U>>
Modifier | Constructor and Description |
---|---|
protected |
MutableFloatVector.Rel(U unit)
Construct a new Relative MutableFloatVector.
|
Modifier and Type | Method and Description |
---|---|
MutableFloatVector.Rel<U> |
abs()
Set the value(s) to their absolute value.
|
MutableFloatVector.Rel<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.Rel<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.Rel<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.Rel<U> |
cbrt()
Set the value(s) to the(ir) cube root.
|
MutableFloatVector.Rel<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.
|
MutableFloatVector.Rel<U> |
cos()
Set the value(s) to the trigonometric cosine of the value(s).
|
MutableFloatVector.Rel<U> |
cosh()
Set the value(s) to the hyperbolic cosine of the value(s).
|
MutableFloatVector.Rel<U> |
decrementBy(FloatVector.Rel<U> decrement)
Decrement the value by the supplied value and return the result.
|
MutableFloatVector.Rel<U> |
exp()
Set the value(s) to Euler's number e raised to the power of the value(s).
|
MutableFloatVector.Rel<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.Rel<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.Rel<U> |
get(int index)
Retrieve the value stored at a specified index as a FloatScalar.
|
MutableFloatVector.Rel<U> |
incrementBy(FloatVector.Rel<U> increment)
Increment the value by the supplied value and return the result.
|
MutableFloatVector.Rel<U> |
inv()
Set the value(s) to the complement (1.0/x) of the value(s).
|
MutableFloatVector.Rel<U> |
log()
Set the value(s) to the natural logarithm (base e) of the value(s).
|
MutableFloatVector.Rel<U> |
log10()
Set the value(s) to the base 10 logarithm of the value(s).
|
MutableFloatVector.Rel<U> |
log1p()
Set the value(s) to the natural logarithm of the sum of the value(s) and 1.
|
MutableFloatVector.Rel<U> |
pow(double x)
Set the value(s) to the value(s) raised to the power of the argument.
|
MutableFloatVector.Rel<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.Rel<U> |
round()
Set the value(s) to the closest long to the argument with ties rounding up.
|
MutableFloatVector.Rel<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.Rel<U> |
sin()
Set the value(s) to the trigonometric sine of the value(s).
|
MutableFloatVector.Rel<U> |
sinh()
Set the value(s) to the hyperbolic sine of the value(s).
|
MutableFloatVector.Rel<U> |
sqrt()
Set the value(s) to the correctly rounded positive square root of the value(s).
|
MutableFloatVector.Rel<U> |
tan()
Set the value(s) to the trigonometric tangent of the value(s).
|
MutableFloatVector.Rel<U> |
tanh()
Set the value(s) to the hyperbolic tangent of the value(s).
|
MutableFloatVector.Rel<U> |
toDegrees()
Set the value(s) to approximately equivalent angle(s) measured in degrees.
|
MutableFloatVector.Rel<U> |
toRadians()
Set the value(s) to approximately equivalent angle(s) measured in radians.
|
assign, checkCopyOnWrite, decrementBy, decrementByImpl, divide, immutable, incrementByImpl, multiply, normalize, scaleValueByValue, scaleValueByValue, set, setInUnit, setSI
cardinality, checkIndex, checkNonEmpty, checkSize, checkSize, createMatrix1D, deepCopyData, deepCopyOfData, denseToSparse, denseToSparse, equals, getInUnit, getInUnit, getSI, getValuesInUnit, getValuesInUnit, getValuesSI, getVectorSI, hashCode, initialize, initialize, initialize, interpolate, interpolate, interpolate, interpolate, minus, minus, minus, minus, minus, minus, minus, minus, minus, mutable, plus, plus, plus, plus, plus, plus, safeGet, safeSet, size, sparseToDense, sparseToDense, times, times, times, times, times, times, times, times, times, times, toString, toString, toString, toString, zSum
expressAsSIUnit, expressAsSpecifiedUnit, getUnit, isAbsolute, isRelative
protected MutableFloatVector.Rel(U unit)
unit
- U; the unit of the new Relative MutableFloatVectorpublic final FloatScalar.Rel<U> get(int index) throws ValueException
get
in interface ReadOnlyFloatVectorFunctions<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.Rel<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.Rel<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 final MutableFloatVector.Rel<U> abs()
abs
in interface MathFunctions<MutableFloatVector<U extends Unit<U>>>
public final MutableFloatVector.Rel<U> acos()
acos
in interface MathFunctions<MutableFloatVector<U extends Unit<U>>>
public final MutableFloatVector.Rel<U> asin()
asin
in interface MathFunctions<MutableFloatVector<U extends Unit<U>>>
public final MutableFloatVector.Rel<U> atan()
atan
in interface MathFunctions<MutableFloatVector<U extends Unit<U>>>
public final MutableFloatVector.Rel<U> cbrt()
cbrt
in interface MathFunctions<MutableFloatVector<U extends Unit<U>>>
public final MutableFloatVector.Rel<U> ceil()
ceil
in interface MathFunctions<MutableFloatVector<U extends Unit<U>>>
public final MutableFloatVector.Rel<U> cos()
cos
in interface MathFunctions<MutableFloatVector<U extends Unit<U>>>
public final MutableFloatVector.Rel<U> cosh()
cosh
in interface MathFunctions<MutableFloatVector<U extends Unit<U>>>
public final MutableFloatVector.Rel<U> exp()
exp
in interface MathFunctions<MutableFloatVector<U extends Unit<U>>>
public final MutableFloatVector.Rel<U> expm1()
expm1
in interface MathFunctions<MutableFloatVector<U extends Unit<U>>>
public final MutableFloatVector.Rel<U> floor()
floor
in interface MathFunctions<MutableFloatVector<U extends Unit<U>>>
public final MutableFloatVector.Rel<U> log()
log
in interface MathFunctions<MutableFloatVector<U extends Unit<U>>>
public final MutableFloatVector.Rel<U> log10()
log10
in interface MathFunctions<MutableFloatVector<U extends Unit<U>>>
public final MutableFloatVector.Rel<U> log1p()
log1p
in interface MathFunctions<MutableFloatVector<U extends Unit<U>>>
public final MutableFloatVector.Rel<U> pow(double x)
pow
in interface MathFunctions<MutableFloatVector<U extends Unit<U>>>
x
- double; the value to use as the powerpublic final MutableFloatVector.Rel<U> rint()
rint
in interface MathFunctions<MutableFloatVector<U extends Unit<U>>>
public final MutableFloatVector.Rel<U> round()
round
in interface MathFunctions<MutableFloatVector<U extends Unit<U>>>
public final MutableFloatVector.Rel<U> signum()
signum
in interface MathFunctions<MutableFloatVector<U extends Unit<U>>>
public final MutableFloatVector.Rel<U> sin()
sin
in interface MathFunctions<MutableFloatVector<U extends Unit<U>>>
public final MutableFloatVector.Rel<U> sinh()
sinh
in interface MathFunctions<MutableFloatVector<U extends Unit<U>>>
public final MutableFloatVector.Rel<U> sqrt()
sqrt
in interface MathFunctions<MutableFloatVector<U extends Unit<U>>>
public final MutableFloatVector.Rel<U> tan()
tan
in interface MathFunctions<MutableFloatVector<U extends Unit<U>>>
public final MutableFloatVector.Rel<U> tanh()
tanh
in interface MathFunctions<MutableFloatVector<U extends Unit<U>>>
public final MutableFloatVector.Rel<U> toDegrees()
toDegrees
in interface MathFunctions<MutableFloatVector<U extends Unit<U>>>
public final MutableFloatVector.Rel<U> toRadians()
toRadians
in interface MathFunctions<MutableFloatVector<U extends Unit<U>>>
public final MutableFloatVector.Rel<U> inv()
inv
in interface MathFunctions<MutableFloatVector<U extends Unit<U>>>
Copyright © 2014–2015 Delft University of Technology. All rights reserved.