def laplacian_matrix(self, affinity_matrix):
        affinity_matrix = check_array(affinity_matrix, copy=False, dtype=float,
                                      accept_sparse=['csr', 'csc', 'coo'])
        if self.symmetrize_input:
            affinity_matrix = self._symmetrize(affinity_matrix)

        if isspmatrix(affinity_matrix):
            affinity_matrix = affinity_matrix.tocoo()
        else:
            affinity_matrix = affinity_matrix.copy()

        lap, lapsym, w = self._compute_laplacian(affinity_matrix)

        if self.scaling_epps is not None and self.scaling_epps > 0.:
            if isspmatrix(lap):
                lap.data *= 4 - (self.scaling_epps ** 2)
            else:
                lap *= 4 / (self.scaling_epps ** 2)

        if self.full_output:
            return lap, lapsym, w
        else:
            return lap
dataset/ETHPy150Open mmp2/megaman/megaman/geometry/laplacian.py/Laplacian.laplacian_matrix/operator `/` -> `-`