ott.geometry.costs.SqEuclidean.barycenter

ott.geometry.costs.SqEuclidean.barycenter#

SqEuclidean.barycenter(weights, xs)[source]#

Output barycenter of vectors when using squared-Euclidean distance.

Parameters:
Return type:

Tuple[Array, Any]