diff options
-rw-r--r-- | ot/lp/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ot/lp/__init__.py b/ot/lp/__init__.py index 2e7c52e..db3da78 100644 --- a/ot/lp/__init__.py +++ b/ot/lp/__init__.py @@ -48,6 +48,7 @@ def emd(a, b, M): Simple example with obvious solution. The function emd accepts lists and perform automatic conversion to numpy arrays + >>> import ot >>> a=[.5,.5] >>> b=[.5,.5] @@ -117,6 +118,8 @@ def emd2(a, b, M,processes=multiprocessing.cpu_count()): Simple example with obvious solution. The function emd accepts lists and perform automatic conversion to numpy arrays + + >>> import ot >>> a=[.5,.5] >>> b=[.5,.5] |