ott.geometry.distrib_costs.UnivariateWasserstein.pairwise# UnivariateWasserstein.pairwise(x, y)[source]# Wasserstein distance between \(x\) and \(y\) seen as a 1D dist. Parameters: x (Array) – Array of shape [n,]. y (Array) – Array of shape [m,]. Return type: float Returns: The transport cost.