ott.geometry.geometry.Geometry.potential_from_scaling#

Geometry.potential_from_scaling(scaling)[source]#

Compute dual potential vector from scaling vector.

Parameters

scaling (Array) – vector.

Return type

Array

Returns

a vector of the same size.