public static class TemperatureVector.Abs.Dense extends TemperatureVector.Abs implements DenseData
TemperatureVector.Abs.Dense, TemperatureVector.Abs.SparseDoubleVector.Abs<U extends Unit<U>>, DoubleVector.Rel<U extends Unit<U>>data| Constructor and Description |
|---|
Dense(double[] values,
TemperatureUnit unit)
Construct a new Absolute Dense Immutable DoubleVector.
|
Dense(List<Double> values,
TemperatureUnit unit)
Construct a new Absolute Dense Immutable DoubleVector.
|
Dense(List<DoubleScalar.Abs<TemperatureUnit>> values)
Construct a new Absolute Dense Immutable DoubleVector.
|
Dense(Temperature.Abs[] values)
Construct a new Absolute Dense Immutable DoubleVector.
|
| Modifier and Type | Method and Description |
|---|---|
protected DoubleVectorDataDense |
getData() |
MutableTemperatureVector.Abs |
mutable()
Create a mutable version of this DoubleVector.
|
TemperatureVector.Abs |
toDense()
Create a dense version of this DoubleVector.
|
TemperatureVector.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,
TemperatureUnit 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, TemperatureUnit 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(Temperature.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<TemperatureUnit>> values) throws ValueException
values - List; the values of the entries in the new Absolute Dense Immutable DoubleVectorValueException - when values has zero entriespublic final MutableTemperatureVector.Abs mutable()
mutable in interface DoubleVectorInterface<TemperatureUnit>mutable in class TemperatureVector.Absprotected final DoubleVectorDataDense getData()
getData in class DoubleVector<TemperatureUnit>public TemperatureVector.Abs toDense()
toDense in interface DoubleVectorInterface<TemperatureUnit>toDense in class TemperatureVector.Abspublic TemperatureVector.Abs toSparse()
toSparse in interface DoubleVectorInterface<TemperatureUnit>toSparse in class TemperatureVector.AbsCopyright © 2015 Delft University of Technology. All rights reserved.