nlop.SmoothAbs

Contents

nlop.SmoothAbs#

class bartorch.nlop.SmoothAbs#

Bases: NonlinearOperator

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

Parameters:
  • shape (tuple of int) – The shape it maps, C order.

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

Also has the methods and properties of NonlinearOperator.