ott.solvers.linear.solve_univariate

ott.solvers.linear.solve_univariate#

ott.solvers.linear.solve_univariate(geom, a=None, b=None, *, return_transport=False, return_dual_variables=False)[source]#

Solve 1D OT problems between two \(d\)-dimensional point clouds.

This function selects the underlying solver based on the following criteria:

Parameters:
Return type:

UnivariateOutput

Returns:

The univariate output.