java sparse matrix problem
问题 I have two dimensional matrix. My matrix is sparse. I am facing performance problem. Can any body please answer that what api or class i can use in java to handle sparse matrix to improve my program performance. For example I want it take 100x100 matrix handle sparse stuff do the multiplication return me my matrix same as 100x100 with 0 ( mean sparse matrix ) 回答1: Jama is awful for large sparse matrices. Have a look at the Colt linear algebra library. Another possibility for sparse linear