m3sh.linalg.

cross_mat#

cross_mat(u)#

Cross product matrix.

Let \(A\) be the matrix returned by this method, then \(A \mathbf{x} = \mathbf{u} \times \mathbf{x}\).

Parameters:
uarray_like, shape (3,)

Vector in 3-space.

Returns:
Andarray, shape (3, 3)

Cross product matrix (always skew symmetric).