I have a Vector whose components are long expressions. I'd like to evaluate 
them so I can see the numerical value of the components. Is there an easy way 
to do so?

Seems like it should be simpler than the easiest way that I can come up with, 
which involves taking dot products. I was hoping for one function or method 
that could do this.

Specifically, the Vectors are sympy.physics.vector.vector.Vector objects.  To 
give you an idea what mine look like, they are in a form kind of like this, but 
much longer:
(243 + cos(0.362)) * myframe.x + (sin(0.381) + 5) * my frame.y

I'd like to evaluate them to end up with something like this:
243.9351 * myframe.x + 5.371 * myframe.y

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/b6a28405-c9fc-4d25-83fa-cd5c6c3bd40a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to