ott.geometry.graph.Graph.potential_from_scaling#

Graph.potential_from_scaling(scaling)#

Compute dual potential vector from scaling vector.

Parameters

scaling (Array) – vector.

Return type

Array

Returns

a vector of the same size.