VarSum¶
Description¶
Calculates the sum of at least two variables.
Arguments¶
varnames
— vector with variable names.sumname
— the name of the resulting variable.
Implementation¶
The transformation reads each variable by name from varnames
and computes the sum:
Tests¶
Use the following commands for the usage example and testing:
./tests/elementary/test_varsum.py