@CodeReview(reviewer="Justin Basilico", date="2006-07-27", changesNeeded=true, comments="The readObject and writeObjects need to be implemented or removed if they are no longer needed.", response=@CodeReviewResponse(respondent="Kevin R. Dixon",date="2007-04-02",moreChangesNeeded=false,comments="Moved readObject and writeObject up the inheritance tree.")) public class SparseMatrix extends SparseRowMatrix
Modifier | Constructor and Description |
---|---|
protected |
SparseMatrix(int numRows,
int numColumns)
Creates a new empty instance of SparseMatrix.
|
protected |
SparseMatrix(Matrix matrix)
Converts the given matrix to a SparseMatrix.
|
compact, getEntryCount, getInternalMatrix, getMatrixFactory, getRow, getSubMatrix, setRow, times, transpose
getColumn, isSparse, pseudoInverse, setElement, solve, times, toString, toString
clone, convertFromVector, convertToVector, dotTimesEquals, dotTimesEquals, equals, get, getElement, getNumColumns, getNumRows, getSubMatrixInto, identity, increment, inverse, isSquare, isSymmetric, iterator, logDeterminant, minusEquals, minusEquals, normFrobenius, normFrobeniusSquared, plusEquals, plusEquals, rank, scaledMinusEquals, scaledPlusEquals, scaledPlusEquals, scaleEquals, set, setInternalMatrix, solve, solve, solve, times, times, timesInto, timesInto, transposeInto, zero
assertMultiplicationDimensions, assertSameDimensions, checkMultiplicationDimensions, checkSameDimensions, decrement, decrement, dotDivide, dotDivideEquals, equals, equals, getColumnInto, getRowInto, hashCode, increment, isSymmetric, isZero, pseudoInverse, rank, setColumn, setRow, setSubMatrix, sumOfColumns, sumOfRows, toArray, trace, valuesAsList
dotTimes, isZero, minus, negative, negativeEquals, plus, scale, scaledMinus, scaledMinusEquals, scaledPlus
finalize, getClass, notify, notifyAll, wait, wait, wait
dotTimes, isZero, minus, negative, negativeEquals, plus, scale, scaledMinus, scaledMinusEquals, scaledPlus
protected SparseMatrix(int numRows, int numColumns)
numRows
- Number of rows in the matrix.numColumns
- Number of columns in the matrix.protected SparseMatrix(Matrix matrix)
matrix
- Matrix to convert, will not be modified.