SUM
From Jacket Wiki
Back to Function List
Sum of array elements
Usage
| Jacket for M Language | |||||||||||
| Supported Syntax | |||||||||||
B = sum(A) B = sum(A,dim) |
|||||||||||
|
|||||||||||
Notes
- SUM is GFOR compatible for all data types except gdouble complex.
- Support for complex variables is currently to 3 or fewer dimensions.
- Supported for any number of columns, rows, or sub-problems. i.e. sum(A,1) will function correctly for any size A barring a kernel timeout.
See Also
ACCUMARRAY, CUMSUM, DIFF, ISFLOAT, PROD