ott.geometry.geometry.Geometry.potential_from_scaling#

Geometry.potential_from_scaling(scaling)[source]#

Compute dual potential vector from scaling vector.

Parameters

scaling (ndarray) – vector.

Return type

ndarray

Returns

a vector of the same size.