]> www.ginac.de Git - ginac.git/commitdiff
documentation update
authorChristian Bauer <Christian.Bauer@uni-mainz.de>
Mon, 5 Aug 2002 18:27:18 +0000 (18:27 +0000)
committerChristian Bauer <Christian.Bauer@uni-mainz.de>
Mon, 5 Aug 2002 18:27:18 +0000 (18:27 +0000)
doc/tutorial/ginac.texi

index 14154336713053423bf026c67c7410ab49a35222..2c3583de23cf3d024863e5a24f787629ab3c34ac 100644 (file)
@@ -1878,9 +1878,9 @@ indices into a canonical order which allows for some immediate simplifications:
      // -> 2*A.j.i
     cout << indexed(B, sy_anti(), i, j)
           + indexed(B, sy_anti(), j, i) << endl;
-     // -> -B.j.i
+     // -> 0
     cout << indexed(B, sy_anti(), i, j, k)
-          + indexed(B, sy_anti(), j, i, k) << endl;
+          - indexed(B, sy_anti(), j, k, i) << endl;
      // -> 0
     ...
 @end example
@@ -1895,8 +1895,8 @@ not dummy indices are called @dfn{free indices}. Numeric indices are neither
 dummy nor free indices.
 
 To be recognized as a dummy index pair, the two indices must be of the same
-class and dimension and their value must be the same single symbol (an index
-like @samp{2*n+1} is never a dummy index). If the indices are of class
+class and their value must be the same single symbol (an index like
+@samp{2*n+1} is never a dummy index). If the indices are of class
 @code{varidx} they must also be of opposite variance; if they are of class
 @code{spinidx} they must be both dotted or both undotted.