X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=doc%2Ftutorial%2Fginac.texi;h=3cd6c6179478ce9d05b81261eb9317e53b639744;hp=06ab56fe55ae1c9baed9498d7d2bbcf48d35de33;hb=ea5d361d94e49ca3f3b73db8c9812ee519f0633f;hpb=6715b097ae926fecfc62e53d4af38b7217634908 diff --git a/doc/tutorial/ginac.texi b/doc/tutorial/ginac.texi index 06ab56fe..3cd6c617 100644 --- a/doc/tutorial/ginac.texi +++ b/doc/tutorial/ginac.texi @@ -4278,13 +4278,17 @@ contain the same number of elements). Using this form, you would write @end example The optional last argument to @code{subs()} is a combination of -@code{subs_options} flags. There are two options available: +@code{subs_options} flags. There are three options available: @code{subs_options::no_pattern} disables pattern matching, which makes large @code{subs()} operations significantly faster if you are not using patterns. The second option, @code{subs_options::algebraic} enables algebraic substitutions in products and powers. @ref{Pattern Matching and Advanced Substitutions}, for more information -about patterns and algebraic substitutions. +about patterns and algebraic substitutions. The third option, +@code{subs_options::no_index_renaming} disables the feature that dummy +indices are renamed if the subsitution could give a result in which a +dummy index occurs more than two times. This is sometimes necessary if +you want to use @code{subs()} to rename your dummy indices. @code{subs()} performs syntactic substitution of any complete algebraic object; it does not try to match sub-expressions as is demonstrated by the