I'll also code in a function which converts a normal Matrix class to a
Sparse Matrix representation.
I'll use the List of Non-zero values method, ie a list of
(coordinates,value) tuple, sorted coordinate-wise with the earlier
coordinate having more precedence.

This is as yet, the most elegant representation I feel. Other advanced
formats like the Yale format, introduce complexity to the code but
only a slight increase in efficiency, that too for specific cases.

Of course, for a complete implementation, more than one representation
needs to be coded in, with sympy choosing which to use according to
the particular Matrix, but that is a big project in itself, which can
take a good part of a GSoC summer.

Thanks,
Sherjil Ozair

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
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/sympy?hl=en.

Reply via email to