

def _compute_laplacian(self, lap):
    w = _degree(lap)
    _subtract_from_diagonal(lap, w)
    return (lap, lap, w)

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