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 repr
Thank you,
I've been reading the Matrices class.
The SMatrix class borrows its transpose, determinant and mult
functions from Matrix, and thus is inefficient for Sparse Matrices.
The transpose doesn't even work for SMatrix.
>>> a=SMatrix(10,10,lambda i,j:isprime(i))
>>> a.T
Traceback (most rec
Hello Aaron ! I have a working patch with me. I've set up my Git
account. I need help with how to add my patch to SymPy. I've forked
SymPy but 'blindly'. Can't understand how it works.
Please tell me how to send the patch to you.
I've added the functions fastR, fastC, transpose and the properties
On Mar 19, 2011, at 1:18 AM, SherjilOzair wrote:
> 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 ha
Sounds good. Let us know if you need help making the patch using git.
Aaron Meurer
On Mar 19, 2011, at 4:03 AM, SherjilOzair wrote:
> Thank you,
> I've been reading the Matrices class.
>
> The SMatrix class borrows its transpose, determinant and mult
> functions from Matrix, and thus is ineffi
OK, I'm assuming this is your fork: https://github.com/sherjilozair/sympy.
Basically, you just commit your changes to a branch in your repository and push
them to GitHub. I case you don't know how to do this, the command to create a
new branch in git is "git checkout -b ". Then you should comm