ott.geometry.costs.SqPNorm.barycenter

ott.geometry.costs.SqPNorm.barycenter#

SqPNorm.barycenter(weights, xs)#

Barycentric operator.

Parameters:
  • weights (Array) – Convex set of weights.

  • xs (Array) – Points.

Return type:

Tuple[Array, Any]

Returns:

A list, whose first element is the barycenter of xs using weights coefficients, followed by auxiliary information on the convergence of the algorithm.