hzhan0607 / cusp-library

Automatically exported from code.google.com/p/cusp-library
Apache License 2.0
0 stars 0 forks source link

create cusp::permutation_matrix #33

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Would store an array of integer indices encoding a permutation of [0,num_rows). 
 Specializing transpose(permutation_matrix,...) and 
multiply(permutation_matrix, ...) for matrix-vector and matrix-matrix 
multiplication would have a noticeable performance advantage.

Questions:
Can permutation_matrix be implemented more concisely as a coo_matrix_view?

Original issue reported on code.google.com by wnbell on 11 Oct 2010 at 4:31