pylupnt.math_utilsΒΆ

Functions

arr_to_mat_idx(k, n)

Convert array index to matrix indices

cross_norm(a, b)

Compute the norm of the cross product of two vectors

i_to_arr_idxs(i, N)

Convert matrix index to array indices

mat_to_arr_idx(i, j, n)

Convert matrix indices to array index

wrap2Pi(x)

Wrap angle in radians to [-pi pi]