NumElems Function

Returns the number of elements in a vector. It is similar to the Length function but differs in the way it handles multi-division vectors. NumElems will return an array element for each division in the vector whereas Length will return the number of elements of the first division only.


Number Type Compulsory Default Description
1 any Yes Vector

Argument 1

Vector. A zero-length vector is permitted


Return type: real array