Simon King wrote: >> ... and since you wanted a matrix of *numbers* out of m, you may do >> sage: m(1.,2.) > > Oops, i just see that your original example was x=pi/2, y=pi. That is > fine: > sage: m(pi/2,pi) > [0 0] > [0 0] > > and is of course better than going via RR: > sage: m(RR(pi/2),RR(pi)) > [ 6.12323399573676e-17 0] > [ 0 -1.224646799147353e-16] >
I don't have the source/sage system handy, but I think the n() function was implemented recently for symbolic matrices, so the following should work and be consistent with other things in Sage (example off the top of my head with hand-constructed output, but something like this should be possible soon, if not now): sage: m(1,2).n() [ 0.540302305868140 0] [ 0 -0.909297426825682] See http://trac.sagemath.org/sage_trac/ticket/2857 -Jason --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---