I have very sparse systems of equations, with sparse kernels (I mean,
if one performs Gaussian elimination, one tends to still obtain a
sparse result). Yet when I compute the kernel matrix with Sage, I end
up with a dense matrix:

$ sage -v
| Sage Version 4.1.1, Release Date: 2009-08-14

sage: m=Matrix(QQ,100,sparse=True)
sage: m[0,0]=1
sage: ker=m.right_kernel(sparse=True)
sage: ker.basis_matrix()
99 x 100 dense matrix over Rational Field

Is this normal? Can I get a sparse matrix instead?

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to