SUM
From STX Wiki
Jump to navigationJump to search
Contents
SUM
Usage:
SUM A
Inputs:
A | number or vector |
Outputs:
Y | sum of elements of A (number) |
Function:
Compute sum of elements of input A.
If A is a number: | Y = A |
if A is a vector: | Y = A0 + ... + An-1; n = number of elements of A |