stko.unit_vector

stko.unit_vector(vector)[source]

Returns the unit vector of the vector.

Parameters:

vector (ndarray)

Return type:

ndarray