lrux.skew_eye#
- lrux.skew_eye(n: int, dtype: dtype | None = None) Array #
The skew-symmetric identity matrix \(J\).
- Parameters:
n – Number of rows in the output divided by 2.
dtype – Optional dtype, default to floating point.
- Returns:
The skew-symmetric identity matrix of shape (2n, 2n), defined as
\[\begin{split}J = \begin{pmatrix} 0 & I \\ -I & 0 \end{pmatrix}\end{split}\]