ott.geometry.costs.CostFn.pairwise# abstract CostFn.pairwise(x, y)[source]# Compute cost between \(x\) and \(y\). Parameters x (Array) – Array. y (Array) – Array. Return type float Returns The cost.