ott.geometry.costs.ElasticL1.prox_legendre_reg

ott.geometry.costs.ElasticL1.prox_legendre_reg#

ElasticL1.prox_legendre_reg(z, tau=1.0)#

Proximal operator of the Legendre transform of reg().

Uses Moreau’s decomposition:

\[x = \text{prox}_{\tau f} \left(x\right) + \tau \text{prox}_{\frac{1}{\tau} f^*} \left(\frac{x}{\tau}\right)\]
Parameters:
  • z (Array) – Array of shape [d,].

  • tau (float) – Positive weight.

Return type:

Array

Returns:

The prox of z.