On Thu, 4 Dec 2014, Nils Bruin wrote:
It's more surprising to me that Scipy can eat a Sage matrix, actually.
Fredrik, any thoughts?
Indeed mpmath can do this too but is a little picky about lists/tuples
vs. iterables:
sage: mp.matrix(tuple(tuple(m) for m in M))
You wouldn't want to do any of this on huge data sets.
But would it be hard to make it at least possible to just say
mp.matrix(M)? For example for quick speed test etc. it could be good.
And in any case system should be as orthogonal[1] as possible. If scipy
can eat a matrix, then should mpmath also.
----------
[1] Well, maybe not as orthogonal as ALGOL-60...
--
Jori Mäntysalo