SuanShu, a Java numerical and statistical library

Package com.numericalmethod.suanshu.matrix.doubles.matrixtype.sparse

Interface Summary
SparseMatrix This interface defines the sparse matrix which stores non-zero values only.
SparseStructure This interface defines common operations on sparse structures like sparse vector or sparse matrix.
 

Class Summary
Coordinates This class represents the coordinates (i, j) of a matrix element, where i and j are the row-index and column-index of the element, respectively.
CsrSparseMatrix The compressed sparse row (CSR) format for sparse matrix.
DokSparseMatrix The dictionary of key (DOK) format for sparse matrix.
LilSparseMatrix The list of lists (LIL) format for sparse matrix.
SparseElement This class represents a matrix element in a sparse matrix.
SparseVector This class represents sparse vector which stores the non-zero values only.
SparseVector.Entry This class represents an entry in a SparseVector.
SparseVector.Iterator This wrapper class overrides the Iterator.remove() method for throwing exception when it is called.
 

Enum Summary
SparseElement.TopLeftFirstComparator This Comparator can be used when a list of matrix elements are to be sorted according to their coordinates.
 


SuanShu, a Java numerical and statistical library

Copyright © 2011 Numerical Method Inc. Ltd. All Rights Reserved.