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