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
AttributeError: 'Vector' object has no attribute 'evalf'
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAKgW%3D6J7HCjKZHW_hcz7-8F5SW8UF7M8DGWguVynTiSV2Z0krQ%40mail.gmail.com.
Btw, I love SymPy. You guys rock, this software is really awesome.
The workaround worked for me. Thank you.
Btw, I love SymPy. You guys rock, this software is really awesome.
--
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+un...@googlegroups.com.
To post to this group, send email to sy...@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/f42b97a0-a8dc-4a72-8ee1-988c377b4894%40googlegroups.com.