public abstract static class TemperatureVector.Abs extends DoubleVector.Abs<TemperatureUnit>
| Modifier and Type | Class and Description |
|---|---|
static class |
TemperatureVector.Abs.Dense
ABSOLUTE DENSE implementation of DoubleVector.
|
static class |
TemperatureVector.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(TemperatureUnit unit)
Construct a new Absolute Immutable DoubleVector.
|
| Modifier and Type | Method and Description |
|---|---|
Temperature.Abs |
get(int index)
Retrieve the value stored at a specified index as a DoubleScalar.
|
TemperatureVector.Rel |
minus(TemperatureVector.Abs abs)
Subtract a Absolute value from this Absolute value for a vector or matrix.
|
TemperatureVector.Abs |
minus(TemperatureVector.Rel rel)
Subtract a Relative value from this Absolute value for a vector or matrix.
|
abstract MutableTemperatureVector.Abs |
mutable()
Create a mutable version of this DoubleVector.
|
TemperatureVector.Abs |
plus(TemperatureVector.Rel rel)
Add a Relative value to this Absolute value for a vector or matrix.
|
abstract TemperatureVector.Abs |
toDense()
Create a dense version of this DoubleVector.
|
abstract TemperatureVector.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(TemperatureUnit unit)
unit - U; the unit of the new Absolute Immutable DoubleVectorpublic abstract MutableTemperatureVector.Abs mutable()
mutable in interface DoubleVectorInterface<TemperatureUnit>mutable in class DoubleVector.Abs<TemperatureUnit>public abstract TemperatureVector.Abs toDense()
toDense in interface DoubleVectorInterface<TemperatureUnit>toDense in class DoubleVector.Abs<TemperatureUnit>public abstract TemperatureVector.Abs toSparse()
toSparse in interface DoubleVectorInterface<TemperatureUnit>toSparse in class DoubleVector.Abs<TemperatureUnit>public Temperature.Abs get(int index) throws ValueException
get in interface DoubleVectorInterface<TemperatureUnit>get in class DoubleVector.Abs<TemperatureUnit>index - int; index of the value to retrieveValueException - when index out of range (index < 0 or index >= size())public final TemperatureVector.Abs plus(TemperatureVector.Rel rel) throws ValueException
rel - the right operandValueException - in case this vector or matrix and the operand have a different sizepublic final TemperatureVector.Abs minus(TemperatureVector.Rel rel) throws ValueException
rel - the right operandValueException - in case this vector or matrix and the operand have a different sizepublic final TemperatureVector.Rel minus(TemperatureVector.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.