示例#1
0
    def SetBlock(self, iRow, iCol, op, c=1.0):
        val = _blockoperator.BlockOperator_SetBlock(self, iRow, iCol, op, c)

        if not hasattr(self, '_linked_op'):
            self._linked_op = {}
        self._linked_op[iRow, iCol] = op

        return val
示例#2
0
    def SetBlock(self, iRow, iCol, op, c=1.0):
        r"""SetBlock(BlockOperator self, int iRow, int iCol, Operator op, double c=1.0)"""
        val = _blockoperator.BlockOperator_SetBlock(self, iRow, iCol, op, c)

        if not hasattr(self, '_linked_op'):
            self._linked_op = {}
        self._linked_op[iRow, iCol] = op

        return val
示例#3
0
 def SetBlock(self, iRow, iCol, op):
     return _blockoperator.BlockOperator_SetBlock(self, iRow, iCol, op)