How the expression zeta obtained. Do input the expression you show or is it obtained by vector algebraic operations on vector expressions. I assume e0, e1, and e2 are arbitrary vectors.
On Mon, Feb 27, 2017 at 12:04 PM, Nico Schlömer <nico.schloe...@gmail.com> wrote: > I have a somewhat large expression in inner products, > ``` > zeta = ( > - <e0, e0> * <e1, e1> * <e2, e2> > + 4 * <e0, e1> * <e1, e2> * <e2, e0> > + ( > + <e0, e0> * <e1, e2> > + <e1, e1> * <e2, e0> > + <e2, e2> * <e0, e1> > ) * ( > + <e0, e0> + <e1, e1> + <e2, e2> > - <e0, e1> - <e1, e2> - <e2, e0> > ) > - <e0, e0>**2 * <e1, e2> > - <e1, e1>**2 * <e2, e0> > - <e2, e2>**2 * <e0, e1> > ) > ``` > and the symmetry in the expression has me suspect that it can be further > simplified. Is sympy capable of simplifying vector/dot product expressions? > A small example that, for example, takes > ``` > <a, c> + <b,d> - <b,c> - <a, d> > ``` > and spits out > ``` > <a-b, c-d> > ``` > would be great. > > -- > 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/2cb85a5e-2b5f-402f-82cb-fd4e2f738d93%40googlegroups.com > <https://groups.google.com/d/msgid/sympy/2cb85a5e-2b5f-402f-82cb-fd4e2f738d93%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 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/CALOxT-kgSpGsL8XQA_8m%2BARW1b5hcJ6Mf5xck9RxkjsC7fcxhA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.