Maxima Function
diff (expr, v_1, [n_1, [v_2, n_2] ...])
is the usual Maxima differentiation function which has been expanded
in its abilities for itensor
. It takes the derivative of expr with
respect to v_1 n_1 times, with respect to v_2 n_2
times, etc. For the tensor package, the function has been modified so
that the v_i may be integers from 1 up to the value of the variable
dim
. This will cause the differentiation to be carried out with
respect to the v_ith member of the list vect_coords
. If
vect_coords
is bound to an atomic variable, then that variable
subscripted by v_i will be used for the variable of
differentiation. This permits an array of coordinate names or
subscripted names like x[1]
, x[2]
, ... to be used.