[SciPy-user] Sparse matrix operations

Nils Wagner nwagner at mecha.uni-stuttgart.de
Thu Nov 4 05:54:37 CST 2004


Hi all,

How can I compute the Rayleigh quotient

R = x' A x/(x' B x),

where A and B are sparse matrices.

How do I compute the matrix vector product of a sparse matrix with a 
vector ?
Can I use dot(A,x) ?


Nils


 




More information about the SciPy-user mailing list