LENGTH

From STX Wiki
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