Skip to content

Commit a5dbac1

Browse files
author
ievred
committed
remove laplacian
1 parent 5592651 commit a5dbac1

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

ot/utils.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,6 @@ def kernel(x1, x2, method='gaussian', sigma=1, **kwargs):
4949
return K
5050

5151

52-
def laplacian(x):
53-
"""Compute Laplacian matrix"""
54-
L = np.diag(np.sum(x, axis=0)) - x
55-
return L
56-
57-
5852
def unif(n):
5953
""" return a uniform histogram of length n (simplex)
6054

0 commit comments

Comments
 (0)