X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginsh%2Fginsh.1.in;h=a66c23e1295276511c077daf74fc7c5ff9275381;hp=5f780648f980317baed030827422dd7b904182d0;hb=44710f0b91c510114a4cf3eacc81b007ea294217;hpb=708e9e647029af699333fceffc0a76bef70a4709 diff --git a/ginsh/ginsh.1.in b/ginsh/ginsh.1.in index 5f780648..a66c23e1 100644 --- a/ginsh/ginsh.1.in +++ b/ginsh/ginsh.1.in @@ -279,14 +279,14 @@ detail here. Please refer to the GiNaC documentation. .BI expand( expression ) \- expands an expression .br -.BI find( expression ", " expression ) +.BI find( expression ", " pattern ) \- returns a list of all occurrences of a pattern in an expression .br .BI gcd( expression ", " expression ) \- greatest common divisor .br -.BI has( expression ", " expression ) -\- returns "1" if the first expression contains the second (which may contain wildcards) as a subexpression, "0" otherwise +.BI has( expression ", " pattern ) +\- returns "1" if the first expression contains the pattern as a subexpression, "0" otherwise .br .BI inverse( matrix ) \- inverse of a matrix @@ -306,6 +306,9 @@ detail here. Please refer to the GiNaC documentation. .BI lsolve( equation-list ", " symbol-list ) \- solve system of linear equations .br +.BI map( expression ", " pattern ) +\- apply function to each operand; the function to be applied is specified as a pattern with the "\$0" wildcard standing for the operands +.br .BI match( expression ", " pattern ) \- check whether expression matches a pattern; returns a list of wildcard substitutions or "FAIL" if there is no match .br