nlop.Add

Contents

nlop.Add#

class bartorch.nlop.Add#

Bases: NonlinearOperator

Elementwise x + value, BART’s zsadd.

An affine map, hence a nonlinear operator; its derivative is the identity.

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

  • value (complex) – Scalar added to every entry.

Also has the methods and properties of NonlinearOperator.