Le 30/04/2010 18:54, Robert Bradshaw a écrit :
O
sage: m = matrix(RDF, 5, sparse=True)
sage: type(m)
So it's our completely generic sparse implementation, stored as a
dictionary of non-zero entries.
http://hg.sagemath.org/sage-main/file/e2ccb846f296/sage/matrix/matrix_generic_sparse.pyx#l1
On Apr 30, 2010, at 9:34 AM, Thierry Dumont wrote:
I have questions about RDF (and CDF) sparse matrices. How are they
implemented?
-for dense matrices, sage uses Scipy matrices and this is transparent.
-but, how are sparse matrices (RDF,CDF) implemented?
1) Are they Scipy matrices ?
2
I have questions about RDF (and CDF) sparse matrices. How are they
implemented?
-for dense matrices, sage uses Scipy matrices and this is transparent.
-but, how are sparse matrices (RDF,CDF) implemented?
1) Are they Scipy matrices ?
2) if yes: there are different data structures for sp