Programmer Guide/SPU Reference/LENGTH: Difference between revisions
From STX Wiki
Jump to navigationJump to search
(initial import) |
m (1 revision: Initial import) |
(No difference)
|
Revision as of 17:31, 18 November 2010
LENGTH - vector length
Compute number of elements of input A.
if A is a number: | Y = 1 |
if A is a vector: | Y = number of elements of A |
Usage:
LENGTH A
Inputs:
A | number or vector |
Outputs:
Y | number of elements of A (number) |