ott.geometry.costs.ElasticSqKOverlap.prox_reg

ott.geometry.costs.ElasticSqKOverlap.prox_reg#

ElasticSqKOverlap.prox_reg(z, tau=1.0)[source]#

Proximal operator of reg().

Parameters:
  • z (Array) – Array of shape [d,].

  • tau (float) – Positive weight.

Return type:

float

Returns:

The prox of z.