U - Unit the unit for which this Vector will be createdpublic static class DoubleVector.Abs.Dense<U extends Unit<U>> extends DoubleVector.Abs<U> implements DenseData
DoubleVector.Abs.Dense<U extends Unit<U>>, DoubleVector.Abs.Sparse<U extends Unit<U>>DoubleVector.Abs<U extends Unit<U>>, DoubleVector.Rel<U extends Unit<U>>data| Constructor and Description |
|---|
Dense(double[] values,
U unit)
Construct a new Absolute Dense Immutable DoubleVector.
|
Dense(DoubleScalar.Abs<U>[] values)
Construct a new Absolute Dense Immutable DoubleVector.
|
Dense(List<Double> values,
U unit)
Construct a new Absolute Dense Immutable DoubleVector.
|
Dense(List<DoubleScalar.Abs<U>> values)
Construct a new Absolute Dense Immutable DoubleVector.
|
| Modifier and Type | Method and Description |
|---|---|
protected DoubleVectorDataDense |
getData() |
MutableDoubleVector.Abs<U> |
mutable()
Create a mutable version of this DoubleVector.
|
DoubleVector.Abs<U> |
toDense()
Create a dense version of this DoubleVector.
|
DoubleVector.Abs<U> |
toSparse()
Create a sparse version of this DoubleVector.
|
get, minus, 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,
U 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, U 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(DoubleScalar.Abs<U>[] 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<U>> values) throws ValueException
values - List; the values of the entries in the new Absolute Dense Immutable DoubleVectorValueException - when values has zero entriespublic final MutableDoubleVector.Abs<U> mutable()
mutable in interface DoubleVectorInterface<U extends Unit<U>>mutable in class DoubleVector.Abs<U extends Unit<U>>protected final DoubleVectorDataDense getData()
getData in class DoubleVector<U extends Unit<U>>public DoubleVector.Abs<U> toDense()
toDense in interface DoubleVectorInterface<U extends Unit<U>>toDense in class DoubleVector.Abs<U extends Unit<U>>public DoubleVector.Abs<U> toSparse()
toSparse in interface DoubleVectorInterface<U extends Unit<U>>toSparse in class DoubleVector.Abs<U extends Unit<U>>Copyright © 2015 Delft University of Technology. All rights reserved.