ott.geometry.geometry.Geometry.scaling_from_potential#

Geometry.scaling_from_potential(potential)[source]#

Compute scaling vector from dual potential.

Parameters

potential (ndarray) – vector.

Return type

ndarray

Returns

a vector of the same size.