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