1 \chapter{Mathematical expressions
}
4 At several points within
\PyX{} mathematical expressions can be
5 provided in form of string parameters. They are evaluated by the
6 module
\verb|mathtree|. This module is not described futher in this
7 user manual, because it is considered to be a technical detail. We
8 just give a list of available operators, functions and predefined
9 variable names here here.
13 \verb|+|;
\verb|-|;
\verb|*|;
\verb|/|;
\verb|**| and
\verb|^| (both
16 \verb|neg| (negate);
\verb|abs| (absolute value);
\verb|sgn| (signum);
17 \verb|sqrt| (square root);
\verb|exp|;
\verb|log| (natural logarithm);
18 \verb|sin|,
\verb|cos|,
\verb|tan|,
\verb|asin|,
\verb|acos|,
19 \verb|atan| (trigonometric functions in radian units);
\verb|sind|,
20 \verb|cosd|,
\verb|tand|,
\verb|asind|,
\verb|acosd|,
\verb|atand| (as
21 before but in degree units);
\verb|norm| ($
\sqrt{a^
2+b^
2}$ as an
22 example for functions with multiple arguments)
23 \item[predefined variables:
]
24 \verb|pi| ($
\pi$);
\verb|e| ($e$)