ott.core.quad_problems.QuadraticProblem.init_transport_mass#

QuadraticProblem.init_transport_mass()[source]#

Initialise the transport mass.

Return type

float

Returns

The sum of the elements of the normalised transport matrix.