nifty.cl.operators.counting_operator module#
- class CountingOperator(domain)[source]#
Bases:
OperatorTransforms values defined on one domain into values defined on another domain, and can also provide the Jacobian.
- apply(x)[source]#
Applies the operator to a Field, MultiField or Linearization.
- Parameters:
x (
nifty.cl.field.Field,nifty.cl.multi_field.MultiField,) – ornifty.cl.linearization.LinearizationInput on which the operator shall act. Needs to be defined ondomain. If x`is a :class:`nifty.cl.linearization.Linearization, apply returns a newnifty.cl.linearization.Linearizationcontining 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#