LENGTH

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

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