ott.geometry.pointcloud.PointCloud.barycenter#

PointCloud.barycenter(weights)[source]#

Compute barycenter of points in self.x using weights, valid for p=2.0.

Return type

ndarray

Parameters

weights (jax._src.numpy.ndarray.ndarray) –