U - Unit the unit for which this Matrix will be createdpublic static class FloatMatrix.Abs.Sparse<U extends Unit<U>> extends FloatMatrix.Abs<U> implements SparseData
FloatMatrix.Abs.Dense<U extends Unit<U>>, FloatMatrix.Abs.Sparse<U extends Unit<U>>FloatMatrix.Abs<U extends Unit<U>>, FloatMatrix.Rel<U extends Unit<U>>data| Modifier | Constructor and Description |
|---|---|
|
Sparse(float[][] values,
U unit)
Construct a new Absolute Sparse Immutable FloatMatrix.
|
protected |
Sparse(FloatMatrixDataSparse data,
U unit)
For package internal use only.
|
|
Sparse(FloatScalar.Abs<U>[][] values)
Construct a new Absolute Sparse Immutable FloatMatrix.
|
| Modifier and Type | Method and Description |
|---|---|
protected FloatMatrixDataSparse |
getData() |
MutableFloatMatrix.Abs.Sparse<U> |
mutable()
Create a mutable version of this FloatMatrix.
|
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(float[][] values,
U unit)
throws ValueException
values - float[][]; the values of the entries in the new Absolute Sparse Immutable FloatMatrixunit - U; the unit of the new Absolute Sparse Immutable FloatMatrixValueException - when values is null, or is not rectangularpublic Sparse(FloatScalar.Abs<U>[][] values) throws ValueException
values - FloatScalar.Abs<U>[][]; the values of the entries in the new Absolute Sparse Immutable
FloatMatrixValueException - when values has zero entries, or is not rectangularprotected Sparse(FloatMatrixDataSparse data, U unit)
data - an internal data objectunit - U; the unit of the new Absolute Sparse Immutable FloatMatrixpublic final MutableFloatMatrix.Abs.Sparse<U> mutable()
mutable in class FloatMatrix<U extends Unit<U>>protected final FloatMatrixDataSparse getData()
getData in class FloatMatrix<U extends Unit<U>>Copyright © 2015 Delft University of Technology. All rights reserved.