public abstract class AbstractMatrix extends Object implements Matrix
Matrix.Element, Matrix.ElementHandler
Constructor and Description |
---|
AbstractMatrix() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkBounds(int i,
int j)
Check that row
i and column j are in matrix bounds. |
Matrix |
copy(MatrixFactory factory)
Copy this matrix using another implementation.
|
protected abstract int |
getEstimatedNonZeroValueCount()
Get an estimation of non zero value count.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, addAndGetElement, addValue, createFromColumn, decomposeLU, getColumnCount, getM, getN, getRowCount, iterateNonZeroValue, iterateNonZeroValueOfColumn, print, print, reset, set, setValue, times, to, toDense, toSparse
protected abstract int getEstimatedNonZeroValueCount()
protected void checkBounds(int i, int j)
i
and column j
are in matrix bounds.i
- row indexj
- column indexpublic Matrix copy(MatrixFactory factory)
Copyright © 2020. All rights reserved.