Exemple #1
0
 def __init__(self, *args):
     if self.__class__ == Operator:
         _self = None
     else:
         _self = self
     this = _operators.new_Operator(_self, *args)
     try:
         self.this.append(this)
     except Exception:
         self.this = this
Exemple #2
0
 def __init__(self, *args):
     r"""
     __init__(Operator self, int s=0) -> Operator
     __init__(Operator self, int h, int w) -> Operator
     """
     if self.__class__ == Operator:
         _self = None
     else:
         _self = self
     _operators.Operator_swiginit(self, _operators.new_Operator(_self, *args))
Exemple #3
0
 def __init__(self, *args):
     """
     __init__(mfem::Operator self, int s=0) -> Operator
     __init__(mfem::Operator self) -> Operator
     __init__(mfem::Operator self, int h, int w) -> Operator
     """
     if self.__class__ == Operator:
         _self = None
     else:
         _self = self
     this = _operators.new_Operator(_self, *args)
     try:
         self.this.append(this)
     except __builtin__.Exception:
         self.this = this