Skip to content
Chung Leong edited this page Jan 10, 2022 · 3 revisions

length - Vector length

float length( float[] $x )

length() calculates the length of vector x.

Parameters:

x - The vector to process. It can be a one-dimensional array or a multi-dimensional array.

Return Value:

Length of x. If x or y is a multi-dimensional array, the return value will be an array whose size is the number of vectors in x.

Version

1.0 and above.

Clone this wiki locally