ott.geometry.regularizers.SqL2.prox

Contents

ott.geometry.regularizers.SqL2.prox#

SqL2.prox(v, tau=1.0)[source]#

Proximal operator.

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

  • tau (float) – Positive weight.

Return type:

Array

Returns:

The prox of v.