Examples ============ 1D Optimal transport --------------------- .. literalinclude:: ../../examples/demo_OT_1D.py 2D Optimal transport on empirical distributions ----------------------------------------------- .. literalinclude:: ../../examples/demo_OT_2D_samples.py 1D Wasserstein barycenter ------------------------- .. literalinclude:: ../../examples/demo_barycenter_1D.py OT with user provided regularization ------------------------------------ .. literalinclude:: ../../examples/demo_optim_OTreg.py