- qspec. absolute ( x , axis=-1 )[source]
-
The length of real vectors $|\vec{x}|$.
- Parameters:
-
- xarray_like
A real vector or an array of real vectors.
- axisint
The axis along which the vector components are aligned.
- Returns:
-
- x_absndarray
The length(s) of the vector(s)
x.