There are some differences between the parser in the Mathematics VIs and the Formula Node. The following table outlines these differences.
| Element | Formula Node | Parser VI Routines |
|---|---|---|
| Variables | No restrictions | Only a, a0, ..., a9, ... z, z0, ..., z9, are valid |
| Binary functions | max, min, mod, rem | Not available |
| Additional math functions | Not available | gamma, ci, si, spike, step, square |
| Logical, conditional, inequality, equality | ?:, , &&, !=, ==,
<, >, <=, >=
|
Not available |
|
pi | pi(1) = , pi(2) = 2 ,
2pi or 2(pi) will return an error
|
| Exponentiation | ** | ^ |
The precedence of operators is the same for the Mathematics VIs as in the Formula Node. Refer to Formula Parsing VIs for more information about specific Formula Parsing VIs.
All Mathematics VI functions use the following syntax:
function (argument)