Programmer Guide/SPU Reference/LENGTH: Difference between revisions

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

Revision as of 11:03, 28 April 2011

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)

Navigation menu

Personal tools