Are there any changes from 5.9.2 to cvs in "apply" code?
after load(itensor);
In cvs version:
applyb1('levi_civita([], [i, j, k])*a([j],[])*a([k],[]), lc_l, lc_u);
(%o4) levi_civita([], [i, j, k]) a([j], []) a([k], [])
In 5.9.2:
applyb1('levi_civita([], [i, j, k])*a([j],[])*a([k],[]), lc_l, lc_u);
(%o2) (kdelta([%1], [i]) (kdelta([%2], [k]) kdelta([%3], [j])
- kdelta([%2], [j]) kdelta([%3], [k]))
- kdelta([%2], [i]) (kdelta([%1], [k]) kdelta([%3], [j])
- kdelta([%1], [j]) kdelta([%3], [k]))
+ (kdelta([%1], [k]) kdelta([%2], [j]) - kdelta([%1], [j]) kdelta([%2], [k]))
kdelta([%3], [i])) levi_civita([], [%3, %2, %1]) a([j], []) a([k], [])/6
rules lc_u, and lc_l are defined in itensor.lisp
Originally the code for these rules was written using maxima language. Viktor
rewrote it with lisp as the lisp code is faster generally. Unfortunately, it
is less portable to changes.
V