12 Apr
2005
12 Apr
'05
6:53 p.m.
Golan Green wrote:
1. The matrix should be large (about 3000 * 1500), and I need to make the insertion very efficient. When I use the regular
insert function, it seems to work very slow. Is there a better way to insert objects into the sparse matrix?
The most efficient way to build up the structure is the COO format. So I would advise to use the coordinate_matrix. One the structure is filled you might want to create a compressed-sparse-column (or compressed_matrix) matrix from the coordinate_matrix because operations on the CSC are faster than one the COO. t