public abstract static class FloatLengthVector.Rel extends FloatVector.Rel<LengthUnit>
| Modifier and Type | Class and Description |
|---|---|
static class |
FloatLengthVector.Rel.Dense
Float Dense Relative Immutable FloatLength class.
|
static class |
FloatLengthVector.Rel.Sparse
Float Sparse Relative Immutable FloatLength class.
|
FloatVector.Abs<U extends Unit<U>>, FloatVector.Rel<U extends Unit<U>>data| Constructor and Description |
|---|
Rel(LengthUnit unit) |
| Modifier and Type | Method and Description |
|---|---|
FloatLengthVector.Rel |
divide(FloatLengthVector.Rel rel)
Divide this Relative value by a Relative value for a vector or matrix.
|
FloatLength.Rel |
get(int index)
Retrieve the value stored at a specified index as a FloatScalar.
|
FloatLengthVector.Rel |
minus(FloatLengthVector.Rel rel)
Subtract a Relative value from this Relative value for a vector or matrix.
|
abstract MutableFloatLengthVector.Rel |
mutable()
Create a mutable version of this FloatVector.
|
FloatLengthVector.Rel |
plus(FloatLengthVector.Rel rel)
Add a Relative value to this Relative value for a vector or matrix.
|
FloatLengthVector.Rel |
times(FloatLengthVector.Rel rel)
Multiply a Relative value with this Relative value for a vector or matrix.
|
abstract FloatLengthVector.Rel |
toDense()
Create a dense version of this FloatVector.
|
abstract FloatLengthVector.Rel |
toSparse()
Create a sparse version of this FloatVector.
|
divide, minus, plus, plus, timescardinality, 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, isRelativepublic Rel(LengthUnit unit)
unit - the unit to usepublic abstract MutableFloatLengthVector.Rel mutable()
mutable in interface FloatVectorInterface<LengthUnit>mutable in class FloatVector.Rel<LengthUnit>public abstract FloatLengthVector.Rel toDense()
toDense in interface FloatVectorInterface<LengthUnit>toDense in class FloatVector.Rel<LengthUnit>public abstract FloatLengthVector.Rel toSparse()
toSparse in interface FloatVectorInterface<LengthUnit>toSparse in class FloatVector.Rel<LengthUnit>public final FloatLength.Rel get(int index) throws ValueException
get in interface FloatVectorInterface<LengthUnit>get in class FloatVector.Rel<LengthUnit>index - int; index of the value to retrieveValueException - when index out of range (index < 0 or index >= size())public final FloatLengthVector.Rel 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.Rel 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 times(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 divide(FloatLengthVector.Rel rel) throws ValueException
rel - the right operandValueException - in case this vector or matrix and the operand have a different sizeCopyright © 2015 Delft University of Technology. All rights reserved.