wxMaxima 0.7.0a http://wxmaxima.sourceforge.net
Maxima 5.10.0 http://maxima.sourceforge.net
Using Lisp GNU Common Lisp (GCL) GCL 2.6.8 (aka GCL)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
This is a development version of Maxima. The function bug_report()
provides bug reporting information.

(%i1) load("tensor.lisp");

Result

(%i2) a : [[1-x, x^2],[sin(x),cos(x)]];

Result

(%i3) tensortype(a);

Result

(%i4) b : [[x^2 + cos(x), -sin(x), sin(x)*cos(x)],[-x, x^3 + x, atan(x)]];

Result

(%i5) tensortype(b);

Result

(%i6) dab1 : diff(a ot b, x);

Result

(%i7) dab2 : diff(a, x) ot b + a ot diff(b, x);

Result

(%i8) dif12 : ratsimp(dab1 - dab2);

Result

(%i9)


Created with wxMaxima.