diff options
author | Rémi Flamary <remi.flamary@gmail.com> | 2017-04-07 15:42:13 +0200 |
---|---|---|
committer | Rémi Flamary <remi.flamary@gmail.com> | 2017-04-07 15:42:13 +0200 |
commit | 92538abf67e5118431396c92caf82071866dcbe5 (patch) | |
tree | b928e3f3f1b1fb69cf393a76c4f03e7987ded7f2 /ot | |
parent | d48874e26025f68a267160db03fe8968b4b6224e (diff) |
doc update
Diffstat (limited to 'ot')
-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] |