|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface SparseStructure
This interface defines common operations on sparse structures like sparse vector or sparse matrix.
| Method Summary | |
|---|---|
int |
dropTolerance(double tolerance)
Remove non-zero entries x whose magnitude is less than or equal to the tolerance, i.e., ( |x| <= tolerance). |
int |
nnz()
Get the number of non-zero entries in the matrix. |
| Method Detail |
|---|
int nnz()
int dropTolerance(double tolerance)
|x| <= tolerance).
tolerance - the tolerance for non-zeros
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||