This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
Python implementation of PermCCA (https://github.com/andersonwinkler/PermCCA), | |
licensed under GPLv3 (https://www.gnu.org/licenses/gpl-3.0.en.html) as a | |
derivative of the original MATLAB code. | |
Since the Schur decomposition is non-unique there are numerical differences | |
betwen the MATLAB code and this implementation. | |
This is a rough translation so there are likely a few bugs, but it generates |