onegpy.operator.AbstractOperator

class onegpy.operator.AbstractOperator(n_in=None, n_out=None)[source]

This is the base class for operators.

__init__(n_in=None, n_out=None)[source]

The number of input solution to the operator and outputs one of the operator None means that the operator handles variable length solutions.

Parameters:
  • n_in – int or None
  • n_out – int or None

Methods

__init__([n_in, n_out]) The number of input solution to the operator and outputs one of the operator None means that the operator handles variable length solutions.
not_changeable_warning()

Attributes

n_in
n_out