Function that returns the sum of n elements of an array.
Syntax |
i32 sumr_mem (real buff, i32 nEl) |
---|---|
buff |
Array of real |
nEl |
Number of array elements you want to sum from the first position |
Result |
Returns the sum of the top nEl elements of the array |
Validity |
Rule, Task |
Note |