Example #1
0
def eig_overlap(fs):
    normalized_fs = [cnormalize(f) for f in fs]
    s = build_matrix(normalized_fs)
    return sorted(map(abs, la.eig(s)[0]))
Example #2
0
def eig_overlap(fs):
    normalized_fs = [cnormalize(f) for f in fs]
    s = build_matrix(normalized_fs)
    return sorted(map(abs, la.eig(s)[0]))
Example #3
0
def clength(f, g):
    return abs(cnorm(cnormalize(f) - cnormalize(g)))
Example #4
0
def clength(f, g):
    return abs(cnorm(cnormalize(f) - cnormalize(g)))