Class SimilarityMatrixKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Matrix similarityMatrix(Matrix A1, Matrix A2) Returns the matrix that transforms A1 to A2.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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.