Table of Contents
SciDAVis supports different interpreters for evaluating mathematical expressions (and for executing scripts). This chapter documents the simple mathematical expressions available in projects which are configured to use muParser for evaluation; as well as in a few places which currently cannot be switched to use a different interpreter. Only calculations embedded in notes windows, column and matrix formulas can be switched to use Python.
The constants _e=e=E and _pi=pi=PI=Pi are defined, as well as the operators and functions listed below. muParser is purely a parser for mathematical expressions and as such does not support executing complex scripts. However, you can make formulas easier to read and modify by assigning subexpressions to variables and inserting comments.
Variable assignments evaluate to the assigned value, so they can be used in the middle of a formula. They can also stand on a line of their own, or separated from other parts of the formula by a semicolon (;). The result of evaluating the last line of a multi-line formula is taken as the result of the whole formula.
Comments start with a hash mark (#) and run till the end of the line.