nifty8.operators.counting_operator module#

class CountingOperator(domain)[source]#

Bases: Operator

Transforms values defined on one domain into values defined on another domain, and can also provide the Jacobian.

__init__(domain)[source]#
__repr__()[source]#

Return repr(self).

apply(x)[source]#

Applies the operator to a Field, MultiField or Linearization.

Parameters:

x (nifty8.field.Field, nifty8.multi_field.MultiField,) – or nifty8.linearization.Linearization Input on which the operator shall act. Needs to be defined on domain. If x`is a :class:`nifty8.linearization.Linearization, apply returns a new nifty8.linearization.Linearization contining the result of the operator application as well as its Jacobian, evaluated at x.

property count_apply#
property count_apply_lin#
property count_jac#
property count_jac_adj#
report()[source]#