SUM

From STX Wiki
< Programmer Guide‎ | SPU Reference
Revision as of 18:31, 18 November 2010 by Admin (talk | contribs) (1 revision: Initial import)
Jump to navigationJump to search

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