From a5dbac1c0088c6db816ceb12af039fef24442558 Mon Sep 17 00:00:00 2001 From: ievred Date: Wed, 8 Apr 2020 10:30:18 +0200 Subject: remove laplacian --- ot/utils.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'ot') 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) -- cgit v1.2.3