U - Unitpublic 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>>| Modifier | Constructor and Description |
|---|---|
|
Sparse(double[][] values,
U unit)
Construct a new Absolute Sparse Immutable DoubleMatrix.
|
protected |
Sparse(DoubleMatrix2D values,
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 |
|---|---|
DoubleMatrix.Abs.Sparse<U> |
copy()
Create a deep copy of this Value.
|
protected DoubleMatrix2D |
createMatrix2D(int rows,
int columns)
Create storage for the data.
|
MutableDoubleMatrix.Abs.Sparse<U> |
mutable()
Create a mutable version of this DoubleMatrix.
|
getcardinality, checkIndex, checkNonEmpty, checkSize, checkSize, columns, deepCopyData, deepCopyOfData, denseToSparse, denseToSparse, det, equals, getInUnit, getInUnit, getMatrixSI, getSI, getValuesInUnit, getValuesInUnit, getValuesSI, hashCode, initialize, initialize, initialize, interpolate, interpolate, interpolate, interpolate, minus, minus, minus, minus, minus, minus, minus, minus, minus, plus, plus, plus, plus, plus, plus, rows, safeGet, safeSet, solve, 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(DoubleMatrix2D values, U unit)
values - DoubleMatrix2D; the values of the entries in the new Absolute Sparse Immutable DoubleMatrixunit - 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 DoubleMatrix2D createMatrix2D(int rows, int columns)
createMatrix2D in class DoubleMatrix<U extends Unit<U>>rows - int; the number of rows in the matrixcolumns - int; the number of columns in the matrixCopyright © 2014–2015 Delft University of Technology. All rights reserved.