summaryrefslogtreecommitdiff
path: root/ot/utils.py
diff options
context:
space:
mode:
authorievred <ievgen.redko@univ-st-etienne.fr>2020-04-08 10:30:18 +0200
committerievred <ievgen.redko@univ-st-etienne.fr>2020-04-08 10:30:18 +0200
commita5dbac1c0088c6db816ceb12af039fef24442558 (patch)
tree62351561ed783ae3832b26b3165cafd1f328019a /ot/utils.py
parent55926517470df6ced506a934b8b9b5e23e023464 (diff)
remove laplacian
Diffstat (limited to 'ot/utils.py')
-rw-r--r--ot/utils.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/ot/utils.py b/ot/utils.py
index a633be2..b71458b 100644
--- a/ot/utils.py
+++ b/ot/utils.py
@@ -49,12 +49,6 @@ def kernel(x1, x2, method='gaussian', sigma=1, **kwargs):
return K
-def laplacian(x):
- """Compute Laplacian matrix"""
- L = np.diag(np.sum(x, axis=0)) - x
- return L
-
-
def unif(n):
""" return a uniform histogram of length n (simplex)