ott.geometry.costs.SqPNorm.h_legendre

ott.geometry.costs.SqPNorm.h_legendre#

SqPNorm.h_legendre(z)[source]#

Legendre transform of h().

For details on the derivation, see e.g., [Boyd et al., 2004], p. 93/94.

Parameters:

z (Array) –

Return type:

float