Programmer Guide/SPU Reference/SUM: Difference between revisions

From STX Wiki
Jump to navigationJump to search
(initial import)
 
m (1 revision: Initial import)
(No difference)

Revision as of 18:31, 18 November 2010

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

Navigation menu

Personal tools