diff options
Diffstat (limited to 'ot')
-rw-r--r-- | ot/utils.py | 6 |
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) |