Platform | x64, Win32, .NET |

Purpose |
To sum the elements of an array. |

Class |
Transformational function. |

Syntax |
FUNCTION SUM(ARRAY, DIM [,MASK]) |

Description |
ARRAY is an array of any type. The result is a scalar or array with the same
type as elements of ARRAY. DIM is a scalar integer in the range 1 If DIM is present, summation is along the dimension specified by DIM resulting
in an array of rank |

Example |
If A is then SUM(A, DIM = 1) is [5, 7, 9] and SUM(A, DIM = 2) is [6, 15]. |

Basket

Empty