[GiNaC-list] expand conundrum

Krishna Mohan Gundu gkmohan at gmail.com
Tue Oct 28 07:30:43 CET 2008


darn it, my email client screwed up the expression, hopefully this
works better from both ends

16*(1.0)*z1*(dz2.[1,0])*((1.0)*p2[1]^(-1)*z1*dz2[0]+(1.0)*p2[1]^(-1)*z2*dz1[0])
-(631.6546816697189115)*p1[2]*(1.0)^2*z1^2*z2^2
+16*(1.0)*z2*((1.0)*p2[0]^(-1)*z1*dz2[1]+(1.0)*p2[0]^(-1)*z2*dz1[1])*(dz1.[0,1])
+16*(1.0)*z2*((1.0)*p2[1]^(-1)*z1*dz2[0]+(1.0)*p2[1]^(-1)*z2*dz1[0])*(dz1.[1,0])
+16*(1.0)*z1*(dz2.[0,1])*((1.0)*p2[0]^(-1)*z1*dz2[1]+(1.0)*p2[0]^(-1)*z2*dz1[1])

> legend:
> p1,p2,dz1,dz2,dz3 are vectors,
> z1, z2, z3 are scalars
> p2[0],p2[1] etc are components
> [1,0], [0,1] etc are vectors too
> (dz1 . dz2) etc are inner products


More information about the GiNaC-list mailing list