Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The expression engine can be used in the 'Function Fitting' tool and the 'Mathematical Expression 1D' Operation in the Processing Perspective.

Syntax

The expression engine uses the typical computer syntax for the four basic arithmetic operations (+-*/). Special functions are accessed by namespaces (described below). The syntax for separating namespace components is the colon (:), rather than the usual dot (.). For example, the correct syntax to access the function exp() in the namespace dnp, is shown below.

dnp:exp()

If a dot is entered by mistake, the expression editor will show an error. This can be cleared by right clicking on the list of expressions to refresh the list and then deleting the erroneous expression.

Namespaces

The expression engine incorporates a set of names spaces. These are:

...