public static class TimeVector.Abs.Dense extends TimeVector.Abs implements DenseData
TimeVector.Abs.Dense, TimeVector.Abs.SparseDoubleVector.Abs<U extends Unit<U>>, DoubleVector.Rel<U extends Unit<U>>data| Constructor and Description |
|---|
Dense(double[] values,
TimeUnit unit)
Construct a new Absolute Dense Immutable DoubleVector.
|
Dense(List<Double> values,
TimeUnit unit)
Construct a new Absolute Dense Immutable DoubleVector.
|
Dense(List<DoubleScalar.Abs<TimeUnit>> values)
Construct a new Absolute Dense Immutable DoubleVector.
|
Dense(Time.Abs[] values)
Construct a new Absolute Dense Immutable DoubleVector.
|
| Modifier and Type | Method and Description |
|---|---|
protected DoubleVectorDataDense |
getData() |
MutableTimeVector.Abs |
mutable()
Create a mutable version of this DoubleVector.
|
TimeVector.Abs |
toDense()
Create a dense version of this DoubleVector.
|
TimeVector.Abs |
toSparse()
Create a sparse version of this DoubleVector.
|
get, minus, minus, plusminus, minus, pluscardinality, checkIndex, checkSize, checkSize, equals, getInUnit, getInUnit, getSI, getValuesInUnit, getValuesInUnit, getValuesSI, hashCode, initializeSparse, initializeSparseMA, initializeSparseMR, safeGet, safeSet, size, toString, toString, toString, toString, zSumexpressAsSIUnit, expressAsSpecifiedUnit, getUnit, isAbsolute, isRelativepublic Dense(double[] values,
TimeUnit unit)
throws ValueException
values - double[]; the values of the entries in the new Absolute Dense Immutable DoubleVectorunit - U; the unit of the new Absolute Dense Immutable DoubleVectorValueException - when values is nullpublic Dense(List<Double> values, TimeUnit unit) throws ValueException
values - List; the values of the entries in the new Absolute Dense Immutable DoubleVectorunit - U; the unit of the new Absolute Dense Immutable DoubleVectorValueException - when values is nullpublic Dense(Time.Abs[] values) throws ValueException
values - DoubleScalar.Abs<U>[]; the values of the entries in the new Absolute Dense Immutable
DoubleVectorValueException - when values has zero entriespublic Dense(List<DoubleScalar.Abs<TimeUnit>> values) throws ValueException
values - List; the values of the entries in the new Absolute Dense Immutable DoubleVectorValueException - when values has zero entriespublic final MutableTimeVector.Abs mutable()
mutable in interface DoubleVectorInterface<TimeUnit>mutable in class TimeVector.Absprotected final DoubleVectorDataDense getData()
getData in class DoubleVector<TimeUnit>public TimeVector.Abs toDense()
toDense in interface DoubleVectorInterface<TimeUnit>toDense in class TimeVector.Abspublic TimeVector.Abs toSparse()
toSparse in interface DoubleVectorInterface<TimeUnit>toSparse in class TimeVector.AbsCopyright © 2015 Delft University of Technology. All rights reserved.