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