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