U
- Unitpublic static class FloatMatrix.Rel.Sparse<U extends Unit<U>> extends FloatMatrix.Rel<U> implements SparseData
FloatMatrix.Rel.Dense<U extends Unit<U>>, FloatMatrix.Rel.Sparse<U extends Unit<U>>
FloatMatrix.Abs<U extends Unit<U>>, FloatMatrix.Rel<U extends Unit<U>>
Modifier | Constructor and Description |
---|---|
|
FloatMatrix.Rel.Sparse(float[][] values,
U unit)
Construct a new Relative Sparse Immutable FloatMatrix.
|
protected |
FloatMatrix.Rel.Sparse(cern.colt.matrix.tfloat.FloatMatrix2D values,
U unit)
For package internal use only.
|
|
FloatMatrix.Rel.Sparse(FloatScalar.Rel<U>[][] values)
Construct a new Relative Sparse Immutable FloatMatrix.
|
Modifier and Type | Method and Description |
---|---|
FloatMatrix.Rel.Sparse<U> |
copy()
Create a deep copy of this Value.
|
protected cern.colt.matrix.tfloat.FloatMatrix2D |
createMatrix2D(int rows,
int columns)
Create storage for the data.
|
MutableFloatMatrix.Rel.Sparse<U> |
mutable()
Create a mutable version of this FloatMatrix.
|
get
cardinality, 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, zSum
expressAsSIUnit, expressAsSpecifiedUnit, getUnit, isAbsolute, isRelative
public FloatMatrix.Rel.Sparse(float[][] values, U unit) throws ValueException
values
- float[][]; the values of the entries in the new Relative Sparse Immutable FloatMatrixunit
- U; the unit of the new Relative Sparse Immutable FloatMatrixValueException
- when values is null, or is not rectangularpublic FloatMatrix.Rel.Sparse(FloatScalar.Rel<U>[][] values) throws ValueException
values
- FloatScalar.Rel<U>[][]; the values of the entries in the new Relative Sparse
Immutable FloatMatrixValueException
- when values has zero entries, or is not rectangularprotected FloatMatrix.Rel.Sparse(cern.colt.matrix.tfloat.FloatMatrix2D values, U unit)
values
- FloatMatrix2D; the values of the entries in the new Relative Sparse Immutable FloatMatrixunit
- U; the unit of the new Relative Sparse Immutable FloatMatrixpublic final MutableFloatMatrix.Rel.Sparse<U> mutable()
mutable
in class FloatMatrix<U extends Unit<U>>
protected final cern.colt.matrix.tfloat.FloatMatrix2D createMatrix2D(int rows, int columns)
createMatrix2D
in class FloatMatrix<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.