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