U - Unit the unit for which this Matrix will be createdpublic static class DoubleMatrix.Abs.Sparse<U extends Unit<U>> extends DoubleMatrix.Abs<U> implements SparseData
DoubleMatrix.Abs.Dense<U extends Unit<U>>, DoubleMatrix.Abs.Sparse<U extends Unit<U>>DoubleMatrix.Abs<U extends Unit<U>>, DoubleMatrix.Rel<U extends Unit<U>>data| Modifier | Constructor and Description |
|---|---|
|
Sparse(double[][] values,
U unit)
Construct a new Absolute Sparse Immutable DoubleMatrix.
|
protected |
Sparse(DoubleMatrixDataSparse data,
U unit)
For package internal use only.
|
|
Sparse(DoubleScalar.Abs<U>[][] values)
Construct a new Absolute Sparse Immutable DoubleMatrix.
|
| Modifier and Type | Method and Description |
|---|---|
protected DoubleMatrixDataSparse |
getData() |
MutableDoubleMatrix.Abs.Sparse<U> |
mutable()
Create a mutable version of this DoubleMatrix.
|
getcardinality, checkIndex, checkNonEmpty, checkSize, checkSize, columns, denseToSparse, denseToSparse, determinant, equals, getInUnit, getInUnit, getSI, getValuesInUnit, getValuesInUnit, getValuesSI, hashCode, initializeDense, initializeDense, initializeSparse, initializeSparse, interpolate, interpolate, interpolate, interpolate, minus, minus, minus, minus, minus, minus, plus, plus, plus, plus, plus, plus, rows, safeGet, safeSet, sparseToDense, sparseToDense, times, times, times, times, times, times, times, times, times, times, toString, toString, toString, toString, zSumexpressAsSIUnit, expressAsSpecifiedUnit, getUnit, isAbsolute, isRelativepublic Sparse(double[][] values,
U unit)
throws ValueException
values - double[][]; the values of the entries in the new Absolute Sparse Immutable DoubleMatrixunit - U; the unit of the new Absolute Sparse Immutable DoubleMatrixValueException - when values is null, or is not rectangularpublic Sparse(DoubleScalar.Abs<U>[][] values) throws ValueException
values - DoubleScalar.Abs<U>[][]; the values of the entries in the new Absolute Sparse Immutable
DoubleMatrixValueException - when values has zero entries, or is not rectangularprotected Sparse(DoubleMatrixDataSparse data, U unit)
data - an internal data objectunit - U; the unit of the new Absolute Sparse Immutable DoubleMatrixpublic final MutableDoubleMatrix.Abs.Sparse<U> mutable()
mutable in class DoubleMatrix<U extends Unit<U>>protected final DoubleMatrixDataSparse getData()
getData in class DoubleMatrix<U extends Unit<U>>Copyright © 2015 Delft University of Technology. All rights reserved.