Hi Scott!

On Mon, Oct 20, 2008 at 6:05 PM, Scott <[EMAIL PROTECTED]> wrote:
>
> Ondrej
>
>
> Thank you for the tip to use the subs function, I was expecting it to
> exist but I had trouble finding it.
>
> I will be working with 2-d arrays.  Which 2d formats play well with
> both the subs and the diff funtions?

I think our Matrix should work with them in some way.

>
> It seems that Matrix lacks the diff attribute , list and numpy.array
> lack the subs attribute.
> Is there a better way to handle this than a lot of
> Matrix(diff(Matrix(rdotarray).subs(xdot,s)[:],s)).subs(s,xdot) ?

Yes, you can use Matrix.applyfunc(). See it's docstring for usage.



>
> Where in the Docs am I most likely to find the answers to my question?

http://docs.sympy.org/modules/matrices.html

>
> I am using sympy 6.2 now.

If you have further questions, please ask. Sorry for my late reply.

Ondrej

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to