Module: Grid Calculator
Copyrights (c) 2003 by Andre Ringeler
Menu: Grid > Calculus
Description
The Grid Calculator calculates a new grid based on existing grids and a mathematical formula.

The following operators are available for the formula definition:
+ Addition
- Subtraction
* Multiplication
/ Division
^ power
sin(a)
cos(a)
tan(a)
asin(a)
acos(a)
atan(a)
atan2(a,b)
abs(a)
int(a)
sqrt(a)
int(a)
ln(a)
mod(a,b)
gt(a, b) returns 1 if a greater b
lt(a, b) returns 1 if a lower b
eq(a, b) returns 1 if a equal b
ifelse(switch, x, y) returns x if switch equals 1 else y

The grid variables are single characters a which correspond in alphabetical order with the grid list order ('a' = first grid, 'b' = second grid, ...)
Example with three grids: sin(a)*b+c

Parameters
NameTypeIdentifierDescriptionConstraints
Input
Grids Grid list (input)INPUT
Output
ResultGrid (output)RESULT
Options
FormulaTextFORMUL