public abstract static class FloatLengthVector.Abs extends FloatVector.Abs<LengthUnit>
| Modifier and Type | Class and Description |
|---|---|
static class |
FloatLengthVector.Abs.Dense
ABSOLUTE DENSE implementation of FloatVector.
|
static class |
FloatLengthVector.Abs.Sparse
ABSOLUTE SPARSE implementation of FloatVector.
|
FloatVector.Abs<U extends Unit<U>>, FloatVector.Rel<U extends Unit<U>>data| Modifier | Constructor and Description |
|---|---|
protected |
Abs(LengthUnit unit)
Construct a new Absolute Immutable FloatVector.
|
| Modifier and Type | Method and Description |
|---|---|
FloatLength.Abs |
get(int index)
Retrieve the value stored at a specified index as a FloatScalar.
|
FloatLengthVector.Rel |
minus(FloatLengthVector.Abs abs)
Subtract a Absolute value from this Absolute value for a vector or matrix.
|
FloatLengthVector.Abs |
minus(FloatLengthVector.Rel rel)
Subtract a Relative value from this Absolute value for a vector or matrix.
|
abstract MutableFloatLengthVector.Abs |
mutable()
Create a mutable version of this FloatVector.
|
FloatLengthVector.Abs |
plus(FloatLengthVector.Rel rel)
Add a Relative value to this Absolute value for a vector or matrix.
|
abstract FloatLengthVector.Abs |
toDense()
Create a dense version of this FloatVector.
|
abstract FloatLengthVector.Abs |
toSparse()
Create a sparse version of this FloatVector.
|
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 FloatVectorpublic abstract MutableFloatLengthVector.Abs mutable()
mutable in interface FloatVectorInterface<LengthUnit>mutable in class FloatVector.Abs<LengthUnit>public abstract FloatLengthVector.Abs toDense()
toDense in interface FloatVectorInterface<LengthUnit>toDense in class FloatVector.Abs<LengthUnit>public abstract FloatLengthVector.Abs toSparse()
toSparse in interface FloatVectorInterface<LengthUnit>toSparse in class FloatVector.Abs<LengthUnit>public FloatLength.Abs get(int index) throws ValueException
get in interface FloatVectorInterface<LengthUnit>get in class FloatVector.Abs<LengthUnit>index - int; index of the value to retrieveValueException - when index out of range (index < 0 or index >= size())public final FloatLengthVector.Abs plus(FloatLengthVector.Rel rel) throws ValueException
rel - the right operandValueException - in case this vector or matrix and the operand have a different sizepublic final FloatLengthVector.Abs minus(FloatLengthVector.Rel rel) throws ValueException
rel - the right operandValueException - in case this vector or matrix and the operand have a different sizepublic final FloatLengthVector.Rel minus(FloatLengthVector.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.