Lines Matching refs:Mat
573 class Mat: class
586 return Mat(numCols, numRows, scalars)
599 res = Mat.identity(numCols, numRows)
625 return isinstance(other, Mat) and self.numRows == other.numRows and self.numCols == other.numCols
633 …return Mat(self.numRows, self.numCols, [self.scalars(i) * val.scalars(i) for i in range(self.numRo…
635 class Mat2(Mat):
637 Mat.__init__(self, 2, 2, [m00, m10, m01, m11])
639 class Mat3(Mat):
641 Mat.__init__(self, 3, 3, [m00, m10, m20,
645 class Mat4(Mat):
647 Mat.__init__(self, 4, 4, [m00, m10, m20, m30,