[SciPy-user] determinant of a sparse matrix

Giampaolo Cuoghi jpaul74@gmail....
Sat Dec 20 07:32:53 CST 2008

Hi everybody,

I'm using scipy for quantum mechanical computation, in particular for 
solve sparse linear system Ax=b.

In a particular problem I haven't to solve the linear system Ax=b (with 
A=sparse matrix) but only compute the determinant of A, and compare it 
with zero.

Is it possible, in scipy, the computation of the determinant of a sparse 

I've tried to use: linalg.det(A.todense()) but this function use a lot 
of memory.


Giampaolo Cuoghi

Physics Department, University of Modena (Italy)

More information about the SciPy-user mailing list