I wrote the following simple function which calculates the cross product of two vectors:

CP(a,b):= [a[2]*b[3]-a[3]*b[2], a[3]*b[1]-a[1]*b[3], a[1]*b[2]-a[2]*b[1]];

Now everything seems to work fine, but then i tried

C(b,a);

in the hope, to get the negative value of C(a,b). Nevertheless, wxmaxima hangs.

So what is going wrong?

I am running the newest version wxMaxima 13.04.0 available for osx:

System info

wxWidgets: 2.8.12

Unicode Support: yes

Maxima version: 5.30.0

Lisp: SBCL 1.0.55.0-abb03f

Thank you for any information