Possible Duplicate:
Sparse matrices / arrays in Java
Hi, I have big matrix, like thousands rows and columns, I am wondering if there is any good design pattern in Java that can help in this issue to process matrix quickly.
Thanks
p.s. my matrix is sparse some time
EDIT: I perform different operations on matrix, such as distance algorithm, but it really depends on project.
By the way, I know about matrix and how to perform different functions. I was just wondering that if there is any Design Pattern available for matrix? For example, for hierarchical stuff we can use visitor pattern.