Looks neat. I will have to delve into it more. Thanks!

On 01/16/2016 06:37 PM, brombo wrote:
You may want to look at my geometric algebra module that uses sympy (github.com/brombo/galgebra) and see if it does what you want it to. I have attached the manual (galgebra.pdf) for you to look at.

On Friday, January 15, 2016 at 11:04:20 AM UTC-5, Alexander Lindsay wrote:

    Hi all,

    I'm pretty new to sympy. I'm wondering whether it's possible to
    manipulate expressions with vector dot products without sympy
    trying to actually evaluate the dot product. Let's say A and B are
    vectors; I want the expression A * B to simply be A * B, not a1*b1
    + a2*b2 + a3*b3. I can't simply use:

    A, B = symbols('A B')

    and carry them around in expressions that way because I want to
    *avoid* simplifications like (C is another vector): A * B / (A *
    C) = B / C

    My full expressions contain many scalars as well as dot products;
    I want to allow scalar simplification, e.g. I *want* x*y / x*z = y
    / z, while avoiding incorrect vector simplifications like the
    possibility above.

    I hope that this is not too strange or stupid of a question!

    Alex

--
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 [email protected] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>.
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/38fe7bcb-0b46-4be6-a387-54570c529cf5%40googlegroups.com <https://groups.google.com/d/msgid/sympy/38fe7bcb-0b46-4be6-a387-54570c529cf5%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
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 [email protected].
To post to this group, send email to [email protected].
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/56A01D89.1020305%40ncsu.edu.
For more options, visit https://groups.google.com/d/optout.

Reply via email to