Пример #1
0
 def __init__(self):
     this = _cvxcore.new_LinOp()
     try:
         self.this.append(this)
     except Exception:
         self.this = this
Пример #2
0
 def __init__(self, type, shape, args) -> None:
     _cvxcore.LinOp_swiginit(self, _cvxcore.new_LinOp(type, shape, args))
Пример #3
0
 def __init__(self, type: "OperatorType", shape: "IntVector", args: "ConstLinOpVector"):
     _cvxcore.LinOp_swiginit(self, _cvxcore.new_LinOp(type, shape, args))