LENGTH

From STX Wiki
< Programmer Guide‎ | SPU Reference
Revision as of 14:05, 17 May 2010 by 193.171.195.8 (talk) (initial import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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