Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
axsk committed Jun 10, 2020
1 parent 80227f5 commit a5af9b3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/cmdtools/analysis/pcca.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
except ImportError:
HAS_SLEPC = False

# Class interfaces
# These are mainly wrappers around the functions below


class PCCA:
def __init__(self, T=None, n=None, pi="uniform", massmatrix=None,
Expand Down Expand Up @@ -50,6 +53,9 @@ def __init__(self, onseperation="warn"):
def solve(self, T, n, massmatrix=None):
return scipyschur(T, n, massmatrix, self.onseperation)

# Functions
# the logic of the above classes following a more functional style


# compatibility to old functioncalls / tests
def pcca(T, n, pi="uniform"):
Expand Down

0 comments on commit a5af9b3

Please sign in to comment.