pycauset.eig_skew
Compute the top-\(k\) eigenvalues (by magnitude) and eigenvectors of a real skew-symmetric matrix.
A real skew-symmetric matrix satisfies \(A = -A^\top\). Its eigenvalues are purely imaginary and come in \(\pm i\lambda\) pairs, with one zero eigenvalue when the dimension is odd. This is the diagonalization used to build the Sorkin-Johnston vacuum \(W\) from the Pauli-Jordan matrix \(i\Delta\).
Parameters
- a: Input square matrix (real, skew-symmetric).
- k: Number of eigenpairs to return.
Returns
A tuple (w, v):
- w: Complex eigenvalues sorted by descending magnitude, of length
min(k, n). - v: Complex
n x min(k, n)matrix whose columns are the matching right eigenvectors, in the same order. Each column satisfies \(A v_j = w_j v_j\).
Notes
- Uses the native backend when available, otherwise falls back to NumPy's general eigensolver.
- Requesting
k > nreturns at mostneigenpairs. - The native path uses the general LAPACK
dgeevsolver. A dedicated skew tridiagonalization is planned but not yet implemented.