pyins.util

Utility functions.

Functions

mm_prod(a, b[, at, bt])

Compute products of multiple matrices stored in a stack.

mm_prod_symmetric(a, b)

Compute symmetric product of stack of matrices.

mv_prod(a, b[, at])

Compute products of multiple matrices and vectors stored in a stack.

skew_matrix(vec)

Create a skew matrix corresponding to a vector.

compute_rms(data)

Compute root-mean-square of data along 0 axis.

to_180_range(angle)

Reduce angle in degrees to the range of [-180, 180].