public abstract static class LengthVector.Abs extends DoubleVector.Abs<LengthUnit>
| Modifier and Type | Class and Description |
|---|---|
static class |
LengthVector.Abs.Dense
ABSOLUTE DENSE implementation of DoubleVector.
|
static class |
LengthVector.Abs.Sparse
ABSOLUTE SPARSE implementation of DoubleVector.
|
DoubleVector.Abs<U extends Unit<U>>, DoubleVector.Rel<U extends Unit<U>>data| Modifier | Constructor and Description |
|---|---|
protected |
Abs(LengthUnit unit)
Construct a new Absolute Immutable DoubleVector.
|
| Modifier and Type | Method and Description |
|---|---|
Length.Abs |
get(int index)
Retrieve the value stored at a specified index as a DoubleScalar.
|
LengthVector.Rel |
minus(LengthVector.Abs abs)
Subtract a Absolute value from this Absolute value for a vector or matrix.
|
LengthVector.Abs |
minus(LengthVector.Rel rel)
Subtract a Relative value from this Absolute value for a vector or matrix.
|
abstract MutableLengthVector.Abs |
mutable()
Create a mutable version of this DoubleVector.
|
LengthVector.Abs |
plus(LengthVector.Rel rel)
Add a Relative value to this Absolute value for a vector or matrix.
|
abstract LengthVector.Abs |
toDense()
Create a dense version of this DoubleVector.
|
abstract LengthVector.Abs |
toSparse()
Create a sparse version of this DoubleVector.
|
minus, minus, pluscardinality, 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, isRelativeprotected Abs(LengthUnit unit)
unit - U; the unit of the new Absolute Immutable DoubleVectorpublic abstract MutableLengthVector.Abs mutable()
mutable in interface DoubleVectorInterface<LengthUnit>mutable in class DoubleVector.Abs<LengthUnit>public abstract LengthVector.Abs toDense()
toDense in interface DoubleVectorInterface<LengthUnit>toDense in class DoubleVector.Abs<LengthUnit>public abstract LengthVector.Abs toSparse()
toSparse in interface DoubleVectorInterface<LengthUnit>toSparse in class DoubleVector.Abs<LengthUnit>public Length.Abs get(int index) throws ValueException
get in interface DoubleVectorInterface<LengthUnit>get in class DoubleVector.Abs<LengthUnit>index - int; index of the value to retrieveValueException - when index out of range (index < 0 or index >= size())public final LengthVector.Abs plus(LengthVector.Rel rel) throws ValueException
rel - the right operandValueException - in case this vector or matrix and the operand have a different sizepublic final LengthVector.Abs minus(LengthVector.Rel rel) throws ValueException
rel - the right operandValueException - in case this vector or matrix and the operand have a different sizepublic final LengthVector.Rel minus(LengthVector.Abs abs) throws ValueException
abs - the right operandValueException - in case this vector or matrix and the operand have a different sizeCopyright © 2015 Delft University of Technology. All rights reserved.