nlop.SmoothAbs

Contents

nlop.SmoothAbs#

class bartorch.nlop.SmoothAbs#

Bases: NonlinearOperator

Elementwise sqrt(|x|^2 + eps), BART’s smo_abs.

Parameters:
  • shape (tuple of int) – Domain and codomain, C order.

  • eps (float, default=1e-12) – Offset that keeps the derivative finite at zero.

Also has the methods and properties of NonlinearOperator.