SUM
From STX Wiki
Jump to navigationJump to search
Sum of elements of input A.
[SPU SUM A OUT Y]
In | Out | Description |
---|---|---|
Anumber | Ynumber | |
Avector | Ynumber |
with: n = length of Avector
- See also
<SP-atoms>
Sum of elements of input A.
[SPU SUM A OUT Y]
In | Out | Description |
---|---|---|
Anumber | Ynumber | Y = A {\displaystyle Y=A} |
Avector | Ynumber | Y = ∑ i = 0 n − 1 A [ i ] {\displaystyle Y=\sum _{i=0}^{n-1}A[i]} |
with: n = length of Avector
<SP-atoms>