| This is part of the function module |
Sum all the elements in a matrix
- Examples
- Glossary of keywords and components
- Description of components
By default the value of the calculated quantity can be referenced elsewhere in the input file by using the label of the action. Alternatively this Action can be used to calculate the following quantities by employing the keywords listed below. These quantities can be referenced elsewhere in the input by using this Action's label followed by a dot and the name of the quantity required from the list below.
Quantity | Description |
.#!value | the sum of all the elements in the input matrix |
- Compulsory keywords
ARG | the labels of the scalar and matrices that on which the function is being calculated elementwise |
PERIODIC | if the output of your function is periodic then you should specify the periodicity of the function. If the output is not periodic you must state this using PERIODIC=NO |
- Options
SERIAL | ( default=off ) do the calculation in serial. Do not parallelize
|