Package jline.lib.butools.reptrans
Class SimilarityMatrixKt
-
- All Implemented Interfaces:
public final class SimilarityMatrixKt
-
-
Method Summary
Modifier and Type Method Description final static MatrixsimilarityMatrix(Matrix A1, Matrix A2)Returns the matrix that transforms A1 to A2. -
-
Method Detail
-
similarityMatrix
final static Matrix similarityMatrix(Matrix A1, Matrix A2)
Returns the matrix that transforms A1 to A2.
- Parameters:
A1- The smaller matrix (shape N,N)A2- The larger matrix (shape M,M where M>=N)- Returns:
The matrix B (shape N,M) satisfying A1B = BA2
Note: For the existence of a (unique) solution the larger matrix has to inherit the eigenvalues of the smaller one.
-
-
-
-