The sum of an array over the Subscript Range(s) with exclamation ! mark(s).
Units: | SUM(unit) --> unit (output has same units as the input) |
Examples
SUM (x[i!]) is equal to x[one] + x[two] +...+x[n].
SUM (x[i,j!] * A[j!] ) is equal to ( x[i,one]*A[1] ) + |
| ( x[i,two]*A[two] ) + ... + |
SUM (x[i!,j!] is equal to x[one,one] + x[one,two] +...+ x[one,m] + |
| x[two,one] + x[two,two] +...+ x[two,m] + |
| x[n,one] + x[n,two] +...+ x[n,m]. |
SUM (x[i!,j]*y[i!]) is equal to | x[one,j]*y[one] + x[two,j]*y[two] |
Availability: Professional and DSS only.
See also: PROD, VECTOR SELECT, VMIN and VMAX.
Sample model: SUM.mdl in FunctionExamples