On 02/05/2012 11:23 PM, D. S. McNeil wrote:
First attempt: loop through each term and try to n() the coefficient.
Madness.
Based on a suggestion Mike Hansen once gave me --
http://ask.sagemath.org/question/411/substituting-expressions-for-numbers
-- I tend to use subclasses of Converter when I need to do something
like this, so as not to get lost in the madness. :^) Something like:
This is neat, thanks. It should work for other transformations, too, not
just numerical approximation.
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org