U - Unitpublic 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>>| Modifier | Constructor and Description |
|---|---|
|
Dense(double[] values,
U unit)
Construct a new Absolute Dense Immutable DoubleVector.
|
protected |
Dense(DoubleMatrix1D values,
U unit)
For package internal use only.
|
|
Dense(DoubleScalar.Abs<U>[] values)
Construct a new Absolute Dense Immutable DoubleVector.
|
| Modifier and Type | Method and Description |
|---|---|
DoubleVector.Abs.Dense<U> |
copy()
Create a deep copy of this Value.
|
protected DoubleMatrix1D |
createMatrix1D(int size)
Create storage for the data.
|
MutableDoubleVector.Abs.Dense<U> |
mutable()
Create a mutable version of this DoubleVector.
|
getcardinality, checkIndex, checkNonEmpty, checkSize, checkSize, deepCopyData, deepCopyOfData, denseToSparse, denseToSparse, equals, getInUnit, getInUnit, getSI, getValuesInUnit, getValuesInUnit, getValuesSI, getVectorSI, hashCode, initialize, initialize, initialize, interpolate, interpolate, interpolate, interpolate, minus, minus, minus, minus, minus, minus, minus, minus, minus, plus, plus, plus, plus, plus, plus, safeGet, safeSet, size, sparseToDense, sparseToDense, times, times, times, times, times, times, times, times, times, times, 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(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 entriesprotected Dense(DoubleMatrix1D values, U unit)
values - DoubleMatrix1D; the values of the entries in the new Absolute Dense Immutable DoubleVectorunit - U; the unit of the new Absolute Dense Immutable DoubleVectorpublic final MutableDoubleVector.Abs.Dense<U> mutable()
mutable in class DoubleVector<U extends Unit<U>>protected final DoubleMatrix1D createMatrix1D(int size)
createMatrix1D in class DoubleVector<U extends Unit<U>>size - int; the number of cells in the vectorCopyright © 2014–2015 Delft University of Technology. All rights reserved.