[Maxima] antisymmetric tensor
Barton Willis
willisb at unk.edu
Wed Sep 16 16:27:06 CDT 2009
Maybe tellsimpafter will work:
(%i1) declare (eps3, antisymmetric)$
(%i2) tellsimpafter(eps3[1,2,3],1)$
(%i3) [eps3[1,2,3], eps3[2,1,3]];
(%o3) [1,-1]
Barton
-----maxima-bounces at math.utexas.edu wrote: -----
>If I define the completely antisymmetric unit tensor in 3d
>via
>
>(%i1) display2d:false$
>(%i2) declare (eps3, antisymmetric)$
>(%i3) eps3[1,2,3] : 1$
>
>then I get
>
>(%i4) eps3[1,2,3];
>(%o4) 1
>(%i5) eps3[3,1,2];
>(%o5) eps3[1,2,3]
>(%i6) ev (%);
>(%o6) 1
>(%i7) a*eps3[1,2,3] + b*eps3[3,1,2] + c*eps3[2,3,1];
>(%o7) eps3[1,2,3]*c+eps3[1,2,3]*b+a
>(%i8) ev(%);
>(%o8) c+b+a
>
>What can I add to my definition lines which will avoid having to
>always use " ev (stuff) " to get the numerical values ?
>
>Thanks in advance
>
>Ted Woollett
>
>_______________________________________________
>Maxima mailing list
>Maxima at math.utexas.edu
>http://www.math.utexas.edu/mailman/listinfo/maxima
More information about the Maxima
mailing list