upiterbarg / mpmath

Automatically exported from code.google.com/p/mpmath
Other
0 stars 0 forks source link

Fast fixed-point matrix format #146

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is about 15x faster than mpmath.matrix for both addition and matrix
multiplication (at size 30 x 30). It could be made faster still by using
numpy.array internally.

It might be useful especially as a temporary representation for evaluation
of matrix functions.

Original issue reported on code.google.com by fredrik....@gmail.com on 7 May 2009 at 4:41

Attachments:

GoogleCodeExporter commented 9 years ago
I think this is not worth the effort; fp matrices or the Cython types in Sage 
should
be as fast as this anyway.

Original comment by fredrik....@gmail.com on 5 Feb 2010 at 9:35

GoogleCodeExporter commented 9 years ago
Yes, and if we really port matrix() to be a frontend to numpy.array, we can get 
this
for free.

Original comment by Vinzent.Steinberg@gmail.com on 5 Feb 2010 at 9:56