def constMatrix(self, value): PTI.ptiConstantMatrix(self.address, value)
def __init__(self, nrows, ncols): self.address = pti.new("ptiMatrix *") PTI.ptiNewMatrix(self.address, nrows, ncols) PTI.ptiConstantMatrix(self.address, 0)