ott.geometry.low_rank.LRCGeometry.scaling_from_potential

ott.geometry.low_rank.LRCGeometry.scaling_from_potential#

LRCGeometry.scaling_from_potential(potential)#

Compute scaling vector from dual potential.

Parameters:

potential (Array) – vector.

Return type:

Array

Returns:

a vector of the same size.