Lines Matching refs:Mat
595 class Mat: class
608 return Mat(numCols, numRows, scalars)
621 res = Mat.identity(numCols, numRows)
647 return isinstance(other, Mat) and self.numRows == other.numRows and self.numCols == other.numCols
655 …return Mat(self.numRows, self.numCols, [self.scalars(i) * val.scalars(i) for i in range(self.numRo…
657 class Mat2(Mat):
659 Mat.__init__(self, 2, 2, [m00, m10, m01, m11])
661 class Mat3(Mat):
663 Mat.__init__(self, 3, 3, [m00, m10, m20,
667 class Mat4(Mat):
669 Mat.__init__(self, 4, 4, [m00, m10, m20, m30,