U
- Unitpublic abstract static class MutableDoubleVector.Rel<U extends Unit<U>> extends MutableDoubleVector<U> implements Relative
Modifier and Type | Class and Description |
---|---|
static class |
MutableDoubleVector.Rel.Dense<U extends Unit<U>> |
static class |
MutableDoubleVector.Rel.Sparse<U extends Unit<U>> |
MutableDoubleVector.Abs<U extends Unit<U>>, MutableDoubleVector.Rel<U extends Unit<U>>
Modifier | Constructor and Description |
---|---|
protected |
MutableDoubleVector.Rel(U unit)
Construct a new Relative MutableDoubleVector.
|
Modifier and Type | Method and Description |
---|---|
MutableDoubleVector.Rel<U> |
abs()
Set the value(s) to their absolute value.
|
MutableDoubleVector.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.
|
MutableDoubleVector.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.
|
MutableDoubleVector.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.
|
MutableDoubleVector.Rel<U> |
cbrt()
Set the value(s) to the(ir) cube root.
|
MutableDoubleVector.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.
|
MutableDoubleVector.Rel<U> |
cos()
Set the value(s) to the trigonometric cosine of the value(s).
|
MutableDoubleVector.Rel<U> |
cosh()
Set the value(s) to the hyperbolic cosine of the value(s).
|
MutableDoubleVector.Rel<U> |
decrementBy(DoubleVector.Rel<U> decrement)
Decrement the value by the supplied value and return the result.
|
MutableDoubleVector.Rel<U> |
exp()
Set the value(s) to Euler's number e raised to the power of the value(s).
|
MutableDoubleVector.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).
|
MutableDoubleVector.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.
|
DoubleScalar.Rel<U> |
get(int index)
Retrieve the value stored at a specified index as a DoubleScalar.
|
MutableDoubleVector.Rel<U> |
incrementBy(DoubleVector.Rel<U> increment)
Increment the value by the supplied value and return the result.
|
MutableDoubleVector.Rel<U> |
inv()
Set the value(s) to the complement (1.0/x) of the value(s).
|
MutableDoubleVector.Rel<U> |
log()
Set the value(s) to the natural logarithm (base e) of the value(s).
|
MutableDoubleVector.Rel<U> |
log10()
Set the value(s) to the base 10 logarithm of the value(s).
|
MutableDoubleVector.Rel<U> |
log1p()
Set the value(s) to the natural logarithm of the sum of the value(s) and 1.
|
MutableDoubleVector.Rel<U> |
pow(double x)
Set the value(s) to the value(s) raised to the power of the argument.
|
MutableDoubleVector.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.
|
MutableDoubleVector.Rel<U> |
round()
Set the value(s) to the closest long to the argument with ties rounding up.
|
MutableDoubleVector.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.
|
MutableDoubleVector.Rel<U> |
sin()
Set the value(s) to the trigonometric sine of the value(s).
|
MutableDoubleVector.Rel<U> |
sinh()
Set the value(s) to the hyperbolic sine of the value(s).
|
MutableDoubleVector.Rel<U> |
sqrt()
Set the value(s) to the correctly rounded positive square root of the value(s).
|
MutableDoubleVector.Rel<U> |
tan()
Set the value(s) to the trigonometric tangent of the value(s).
|
MutableDoubleVector.Rel<U> |
tanh()
Set the value(s) to the hyperbolic tangent of the value(s).
|
MutableDoubleVector.Rel<U> |
toDegrees()
Set the value(s) to approximately equivalent angle(s) measured in degrees.
|
MutableDoubleVector.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 MutableDoubleVector.Rel(U unit)
unit
- U; the unit of the new Relative MutableDoubleVectorpublic final DoubleScalar.Rel<U> get(int index) throws ValueException
get
in interface ReadOnlyDoubleVectorFunctions<U extends Unit<U>>
index
- int; index of the value to retrieveValueException
- when index out of range (index < 0 or index >= size())public final MutableDoubleVector.Rel<U> incrementBy(DoubleVector.Rel<U> increment) throws ValueException
increment
- DoubleVector.Rel<U>; amount by which the value is incrementedValueException
- when the size of increment is not identical to the size of thispublic final MutableDoubleVector.Rel<U> decrementBy(DoubleVector.Rel<U> decrement) throws ValueException
decrement
- DoubleVector.Rel<U>; amount by which the value is decrementedValueException
- when the size of increment is not identical to the size of thispublic final MutableDoubleVector.Rel<U> abs()
abs
in interface MathFunctions<MutableDoubleVector<U extends Unit<U>>>
public final MutableDoubleVector.Rel<U> acos()
acos
in interface MathFunctions<MutableDoubleVector<U extends Unit<U>>>
public final MutableDoubleVector.Rel<U> asin()
asin
in interface MathFunctions<MutableDoubleVector<U extends Unit<U>>>
public final MutableDoubleVector.Rel<U> atan()
atan
in interface MathFunctions<MutableDoubleVector<U extends Unit<U>>>
public final MutableDoubleVector.Rel<U> cbrt()
cbrt
in interface MathFunctions<MutableDoubleVector<U extends Unit<U>>>
public final MutableDoubleVector.Rel<U> ceil()
ceil
in interface MathFunctions<MutableDoubleVector<U extends Unit<U>>>
public final MutableDoubleVector.Rel<U> cos()
cos
in interface MathFunctions<MutableDoubleVector<U extends Unit<U>>>
public final MutableDoubleVector.Rel<U> cosh()
cosh
in interface MathFunctions<MutableDoubleVector<U extends Unit<U>>>
public final MutableDoubleVector.Rel<U> exp()
exp
in interface MathFunctions<MutableDoubleVector<U extends Unit<U>>>
public final MutableDoubleVector.Rel<U> expm1()
expm1
in interface MathFunctions<MutableDoubleVector<U extends Unit<U>>>
public final MutableDoubleVector.Rel<U> floor()
floor
in interface MathFunctions<MutableDoubleVector<U extends Unit<U>>>
public final MutableDoubleVector.Rel<U> log()
log
in interface MathFunctions<MutableDoubleVector<U extends Unit<U>>>
public final MutableDoubleVector.Rel<U> log10()
log10
in interface MathFunctions<MutableDoubleVector<U extends Unit<U>>>
public final MutableDoubleVector.Rel<U> log1p()
log1p
in interface MathFunctions<MutableDoubleVector<U extends Unit<U>>>
public final MutableDoubleVector.Rel<U> pow(double x)
pow
in interface MathFunctions<MutableDoubleVector<U extends Unit<U>>>
x
- double; the value to use as the powerpublic final MutableDoubleVector.Rel<U> rint()
rint
in interface MathFunctions<MutableDoubleVector<U extends Unit<U>>>
public final MutableDoubleVector.Rel<U> round()
round
in interface MathFunctions<MutableDoubleVector<U extends Unit<U>>>
public final MutableDoubleVector.Rel<U> signum()
signum
in interface MathFunctions<MutableDoubleVector<U extends Unit<U>>>
public final MutableDoubleVector.Rel<U> sin()
sin
in interface MathFunctions<MutableDoubleVector<U extends Unit<U>>>
public final MutableDoubleVector.Rel<U> sinh()
sinh
in interface MathFunctions<MutableDoubleVector<U extends Unit<U>>>
public final MutableDoubleVector.Rel<U> sqrt()
sqrt
in interface MathFunctions<MutableDoubleVector<U extends Unit<U>>>
public final MutableDoubleVector.Rel<U> tan()
tan
in interface MathFunctions<MutableDoubleVector<U extends Unit<U>>>
public final MutableDoubleVector.Rel<U> tanh()
tanh
in interface MathFunctions<MutableDoubleVector<U extends Unit<U>>>
public final MutableDoubleVector.Rel<U> toDegrees()
toDegrees
in interface MathFunctions<MutableDoubleVector<U extends Unit<U>>>
public final MutableDoubleVector.Rel<U> toRadians()
toRadians
in interface MathFunctions<MutableDoubleVector<U extends Unit<U>>>
public final MutableDoubleVector.Rel<U> inv()
inv
in interface MathFunctions<MutableDoubleVector<U extends Unit<U>>>
Copyright © 2014–2015 Delft University of Technology. All rights reserved.