Andrew Straw wrote: > Ondrej Certik wrote: >> On Sat, Jan 17, 2009 at 11:09 AM, Andrew Straw <[email protected]> wrote: >>> Hi, I'm trying to get lambdify to take a vector as input so that I can >>> have a function G(x) where x is a vector. (The ultimate aim is to
> Or, perhaps a "DeferredMatrix" that implements this automatically? > > X=DeferredMatrix() > M=Matrix([[X[0]**2, ... I sent a patch to sympy-patches which implements this (well, it's called "DeferredVector", actually). I'm interested in feedback on the patch in the hopes that it might get into sympy. Strangely, although I sent if a couple hours ago my patch doesn't (yet) show up on the sympy-patches archive, but perhaps that's because I wasn't subscribed. If it doesn't show up in a day or two, I'll re-send. -Andrew -- Dr. Andrew D. Straw California Institute of Technology http://www.its.caltech.edu/~astraw/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sympy?hl=en -~----------~----~----~----~------~----~------~--~---
