cross_mat

m3sh.linalg.cross_mat(u)[source]

Cross product matrix.

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

Parameters:

u (array_like, shape (3, )) – Vector in \(\mathbb{R}^3\).

Returns:

Cross product matrix.

Return type:

ndarray, shape (3, 3)

Note

The matrix \(A\) is skew symmetric.