[sympy] New Data structure for Dense Matrix

2013-07-06 Thread Saurabh Jha
Hi, I have been working on the dense matrix for the last few days. The PR is [1] I have written some Profile results in [2]. Here I draw some conclusions. There is an absolute need of a more efficient data structure to store and use dense matrices. The current implementation with all of the _

Re: [sympy] New Data structure for Dense Matrix

2013-07-06 Thread Aaron Meurer
On Sat, Jul 6, 2013 at 1:52 PM, Saurabh Jha wrote: > Hi, > > I have been working on the dense matrix for the last few days. The PR is > [1] > > I have written some Profile results in [2]. Here I draw some conclusions. > I would try profiling much larger matrices, so that you can see what is slow

Re: [sympy] New Data structure for Dense Matrix

2013-07-06 Thread Ronan Lamy
2013/7/6 Saurabh Jha Hi, > > I have been working on the dense matrix for the last few days. The PR is > [1] > > I have written some Profile results in [2]. Here I draw some conclusions. > Sorry, but your profiling is totally useless. You need to profile something that lasts for a little more tha

Re: [sympy] New Data structure for Dense Matrix

2013-07-09 Thread Saurabh Jha
I have posted some new profiles in [1]. Please have a look. [1] http://sympymatrix.blogspot.in/2013/07/some-improved-profiles-of-dense-matrix.html On Sunday, July 7, 2013 5:15:48 AM UTC+5:30, Ronan Lamy wrote: > > 2013/7/6 Saurabh Jha > > > Hi, >> >> I have been working on the dense matrix for

Re: [sympy] New Data structure for Dense Matrix

2013-07-11 Thread Saurabh Jha
I have just rewritten and add a few functions for row operations in my current PR. The diff looks quite messy just have a look at [1]. This is rewritten although it is largely the same. Here is the summary of profile results. I am now using gmpy ground types. >>> for i in range(1000, 3000):