Package jline.lib.qmam
Class Q_SylvestKt
-
- All Implemented Interfaces:
public final class Q_SylvestKt
-
-
Method Summary
-
-
Method Detail
-
qSylvest
final static Matrix qSylvest(Matrix U, Matrix T, Matrix B)
Solves the equation X*kron(A,I)+BX=-I using a Schur-based approach.
Uses pre-computed Schur decomposition where kron(A,I)=UTU'
- Parameters:
U- The unitary matrix from Schur decompositionT- The triangular matrix from Schur decompositionB- The matrix B in the equation- Returns:
Solution matrix X
-
schurDecomposition
final static Pair<Matrix, Matrix> schurDecomposition(Matrix A)
Performs Schur decomposition of a matrix.
Returns a pair (U, T) where A = U * T * U' Uses eigenvalue decomposition as a fallback since direct Schur decomposition is not publicly accessible in commons-math3.
- Parameters:
A- Input matrix- Returns:
Pair of (U, T) matrices
-
-
-
-