

def _compute_laplacian(self, lap):
    (w, nonzero) = _normalize_laplacian(lap, symmetric=True, degree_exp=0.5)
    _subtract_from_diagonal(lap, nonzero)
    return (lap, lap, w)

dataset/ETHPy150Open mmp2/megaman/megaman/geometry/laplacian.py SymmetricNormalizedLaplacian._compute_laplacian/original