summaryrefslogtreecommitdiff
path: root/docs/source/auto_examples/plot_OT_1D.rst
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2017-07-03 16:33:00 +0200
committerRémi Flamary <remi.flamary@gmail.com>2017-07-03 16:33:00 +0200
commitadbf95ee9a720fa38b5b91d0a9d5c3b22ba0b226 (patch)
tree834a6934ab09c4daec751c220ba847e8be61bb4b /docs/source/auto_examples/plot_OT_1D.rst
parentf639518e9b96c5904122e62e024ed4ae369ceb33 (diff)
update doc
Diffstat (limited to 'docs/source/auto_examples/plot_OT_1D.rst')
-rw-r--r--docs/source/auto_examples/plot_OT_1D.rst26
1 files changed, 24 insertions, 2 deletions
diff --git a/docs/source/auto_examples/plot_OT_1D.rst b/docs/source/auto_examples/plot_OT_1D.rst
index 941fd54..44b715b 100644
--- a/docs/source/auto_examples/plot_OT_1D.rst
+++ b/docs/source/auto_examples/plot_OT_1D.rst
@@ -36,7 +36,29 @@
:scale: 47
+.. rst-class:: sphx-glr-script-out
+ Out::
+
+ It. |Err
+ -------------------
+ 0|8.187970e-02|
+ 10|3.460174e-02|
+ 20|6.633335e-03|
+ 30|9.797798e-04|
+ 40|1.389606e-04|
+ 50|1.959016e-05|
+ 60|2.759079e-06|
+ 70|3.885166e-07|
+ 80|5.470605e-08|
+ 90|7.702918e-09|
+ 100|1.084609e-09|
+ 110|1.527180e-10|
+
+
+
+
+|
.. code-block:: python
@@ -85,12 +107,12 @@
#%% Sinkhorn
lambd=1e-3
- Gs=ot.sinkhorn(a,b,M,lambd)
+ Gs=ot.sinkhorn(a,b,M,lambd,verbose=True)
pl.figure(4)
ot.plot.plot1D_mat(a,b,Gs,'OT matrix Sinkhorn')
-**Total running time of the script:** ( 0 minutes 0.597 seconds)
+**Total running time of the script:** ( 0 minutes 0.674 seconds)