public abstract static class TemperatureVector.Rel extends DoubleVector.Rel<TemperatureUnit>
| Modifier and Type | Class and Description |
|---|---|
static class |
TemperatureVector.Rel.Dense
Double Dense Relative Immutable Temperature class.
|
static class |
TemperatureVector.Rel.Sparse
Double Sparse Relative Immutable Temperature class.
|
DoubleVector.Abs<U extends Unit<U>>, DoubleVector.Rel<U extends Unit<U>>data| Constructor and Description |
|---|
Rel(TemperatureUnit unit) |
| Modifier and Type | Method and Description |
|---|---|
TemperatureVector.Rel |
divide(TemperatureVector.Rel rel)
Divide this Relative value by a Relative value for a vector or matrix.
|
Temperature.Rel |
get(int index)
Retrieve the value stored at a specified index as a DoubleScalar.
|
TemperatureVector.Rel |
minus(TemperatureVector.Rel rel)
Subtract a Relative value from this Relative value for a vector or matrix.
|
abstract MutableTemperatureVector.Rel |
mutable()
Create a mutable version of this DoubleVector.
|
TemperatureVector.Rel |
plus(TemperatureVector.Rel rel)
Add a Relative value to this Relative value for a vector or matrix.
|
TemperatureVector.Rel |
times(TemperatureVector.Rel rel)
Multiply a Relative value with this Relative value for a vector or matrix.
|
abstract TemperatureVector.Rel |
toDense()
Create a dense version of this DoubleVector.
|
abstract TemperatureVector.Rel |
toSparse()
Create a sparse version of this DoubleVector.
|
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(TemperatureUnit unit)
unit - the unit to usepublic abstract MutableTemperatureVector.Rel mutable()
mutable in interface DoubleVectorInterface<TemperatureUnit>mutable in class DoubleVector.Rel<TemperatureUnit>public abstract TemperatureVector.Rel toDense()
toDense in interface DoubleVectorInterface<TemperatureUnit>toDense in class DoubleVector.Rel<TemperatureUnit>public abstract TemperatureVector.Rel toSparse()
toSparse in interface DoubleVectorInterface<TemperatureUnit>toSparse in class DoubleVector.Rel<TemperatureUnit>public final Temperature.Rel get(int index) throws ValueException
get in interface DoubleVectorInterface<TemperatureUnit>get in class DoubleVector.Rel<TemperatureUnit>index - int; index of the value to retrieveValueException - when index out of range (index < 0 or index >= size())public final TemperatureVector.Rel 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.Rel 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 times(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 divide(TemperatureVector.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.