| Interface | Description |
|---|---|
| SparseMatrix |
A sparse matrix stores only non-zero values.
|
| SparseStructure |
This interface defines common operations on sparse structures such as sparse
vector or sparse matrix.
|
| Class | Description |
|---|---|
| CSRSparseMatrix |
The Compressed Sparse Row (CSR) format for sparse matrix has this representation:
(value, col_ind, row_ptr). |
| DOKSparseMatrix |
The Dictionary Of Key (DOK) format for sparse matrix uses the coordinates of
non-zero entries in the matrix as keys.
|
| LILSparseMatrix |
The list of lists (LIL) format for sparse matrix stores one list per row,
where each entry stores a column index and value.
|
| MatrixCoordinate |
The location of a matrix entry is specified by a 2D coordinates (i, j), where i and
j are the row-index and column-index of the entry respectively.
|
| SparseMatrix.Entry |
This is a (non-zero) entry in a sparse matrix.
|
| SparseMatrix.ValueArray | |
| SparseMatrixUtils |
These are the utility functions for
SparseMatrix. |
| SparseVector |
A sparse vector stores only non-zero values.
|
| SparseVector.Entry |
This is an entry in a
SparseVector. |
| SparseVector.Iterator |
This wrapper class overrides the
Iterator.remove()
method to throw an exception when called. |
| Enum | Description |
|---|---|
| SparseMatrix.Entry.TopLeftFirstComparator |
This
Comparator sorts the matrix coordinates first from top to
bottom (rows), and then from left to right (columns). |
| SparseVector.Entry.Comparator |
This
Comparator sorts the matrix coordinates first from top
to bottom (rows), and then from left to right (columns). |
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.