ott.geometry.pointcloud.PointCloud.barycenter

ott.geometry.pointcloud.PointCloud.barycenter#

PointCloud.barycenter(weights)[source]#

Compute barycenter of points in self.x using weights.

Parameters:

weights (Array) –

Return type:

Array