Java Examples: Sparse Matrix Operations in Java
In the subfield of numerical analysis, a sparse matrix is a matrix populated primarily with zeros (Stoer & Bulirsch 2002, p. 619) as elements of the table. By contrast, if a larger number of elements differ from zero, then it is common to refer to the matrix as a dense matrix. The fraction of zero elements (non-zero elements) in a matrix is called the sparsity (density).
What my program do ?
Include methods to store a sparse matrix, display a matrix, perform operations such asOR, AND on two sparse matrices and store the results and print .
Read full article from Java Examples: Sparse Matrix Operations in Java
No comments:
Post a Comment