U
- Unitpublic static class MutableFloatMatrix.Abs.Sparse<U extends Unit<U>> extends MutableFloatMatrix.Abs<U> implements SparseData
MutableFloatMatrix.Abs.Dense<U extends Unit<U>>, MutableFloatMatrix.Abs.Sparse<U extends Unit<U>>
MutableFloatMatrix.Abs<U extends Unit<U>>, MutableFloatMatrix.Rel<U extends Unit<U>>
Modifier | Constructor and Description |
---|---|
|
MutableFloatMatrix.Abs.Sparse(float[][] values,
U unit)
Construct a new Absolute Sparse MutableFloatMatrix.
|
protected |
MutableFloatMatrix.Abs.Sparse(cern.colt.matrix.tfloat.FloatMatrix2D values,
U unit)
For package internal use only.
|
|
MutableFloatMatrix.Abs.Sparse(FloatScalar.Abs<U>[][] values)
Construct a new Absolute Sparse MutableFloatMatrix.
|
Modifier and Type | Method and Description |
---|---|
MutableFloatMatrix.Abs.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.
|
FloatMatrix.Abs.Sparse<U> |
immutable()
Make (immutable) FloatMatrix equivalent for any type of MutableFloatMatrix.
|
MutableFloatMatrix.Abs.Sparse<U> |
mutable()
Create a mutable version of this FloatMatrix.
|
abs, acos, asin, atan, cbrt, ceil, cos, cosh, decrementBy, exp, expm1, floor, get, incrementBy, inv, log, log10, log1p, pow, rint, round, signum, sin, sinh, sqrt, tan, tanh, toDegrees, toRadians
assign, checkCopyOnWrite, decrementBy, decrementByImpl, divide, incrementByImpl, multiply, normalize, scaleValueByValue, scaleValueByValue, set, setInUnit, setSI
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 MutableFloatMatrix.Abs.Sparse(float[][] values, U unit) throws ValueException
values
- float[][]; the initial values of the entries in the new Absolute Sparse MutableFloatMatrixunit
- U; the unit of the new Absolute Sparse MutableFloatMatrixValueException
- when values is null, or is not rectangularpublic MutableFloatMatrix.Abs.Sparse(FloatScalar.Abs<U>[][] values) throws ValueException
values
- FloatScalar.Abs<U>[][]; the initial values of the entries in the new Absolute Sparse
MutableFloatMatrixValueException
- when values has zero entries, or is not rectangularprotected MutableFloatMatrix.Abs.Sparse(cern.colt.matrix.tfloat.FloatMatrix2D values, U unit)
values
- FloatMatrix2D; the initial values of the entries in the new Absolute Sparse
MutableFloatMatrixunit
- U; the unit of the new Absolute Sparse MutableFloatMatrixpublic final FloatMatrix.Abs.Sparse<U> immutable()
immutable
in class MutableFloatMatrix<U extends Unit<U>>
public final MutableFloatMatrix.Abs.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.