Thanks for the reply.

>  I assume e0, e1, and e2 are arbitrary vectors.

Indeed, they can be anything. (I'm looking at 3 dimensions here but given 
the fact that everything is a dot product I assume that doesn't play much 
of a role.)

Cheers,
Nico



On Monday, February 27, 2017 at 6:37:59 PM UTC+1, brombo wrote:
>
> 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 <[email protected] 
> <javascript:>> 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 [email protected] <javascript:>.
>> To post to this group, send email to [email protected] <javascript:>
>> .
>> 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 [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/232c66f6-19a3-4672-8507-88631357e9c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to