Comment #20 on issue 2225 by ronan.l...@gmail.com: Enhancing Matrix Norm
http://code.google.com/p/sympy/issues/detail?id=2225

I think both Sherjil and Matthew make good points here. There are cases where you want .norm() to return an explicit result but if you consider a 100*100 matrix with a handful of parameters, trying to compute the norm will just kill the interpreter with an OutOfMemoryError after hours of thrashing, even though the numeric calculation would be nearly instantaneous. In that case, you actually want .norm() to return some Norm(matrix) object, so that you can get on with your calculations and obtain explicit values later on when you've specified the value of the parameters. The difficulty is to make sure that the calculations are done only when they're both doable and useful.

Nobody actually cares about the explicit value of integrate((a*x**2 + b*x + c)/(d*x**2 + e*x + f), x), because it's always easier to do the computation for specified values of a,b,c,d,e,f than to use the explicit result.

--
You received this message because you are subscribed to the Google Groups 
"sympy-patches" group.
To post to this group, send email to sympy-patches@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-patches+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-patches?hl=en.

Reply via email to