This is the Matrix export class A 4x4 Matrix move(Vector) Move the matrix along the vector scale(Vector) Scale the matrix with the vector hasScale(tol=None) Return 0 is no scale factor, 1 for uniform scaling, -1 for non-uniform scaling. unity() - make this matrix to unity transform(Vector,Matrix) - return the dot product of the two vectors rotateX(float) - rotate around X rotateY(float) - rotate around Y rotateZ(float) - rotate around Z multiply(Matrix|Vector) Multiply a matrix or vector with this matrix multVec(Vector) -> Vector Compute the transformed vector using the matrix invert() -> None Compute the inverse matrix, if possible inverse() -> Matrix Compute the inverse matrix, if possible transpose() -> None Transpose the matrix. transposed() -> Matrix Returns a transposed copy of this matrix. determinant() -> Float Compute the determinant of the matrix isOrthogonal([Float]) -> Float Checks if the matrix is orthogonal, i.e. M * M^T = k*I and returns the multiple of the identity matrix. If it's not orthogonal 0 is returned. As argument you can set a tolerance which by default is 1.0e-6. submatrix(int) -> Matrix Get the sub-matrix. The parameter must be in the range [1,4]. analyze() -> string Analyzes the type of transformation. The matrix elements The matrix elements The matrix elements The matrix elements The matrix elements The matrix elements The matrix elements The matrix elements The matrix elements The matrix elements The matrix elements The matrix elements The matrix elements The matrix elements The matrix elements The matrix elements The matrix elements public: MatrixPy(const Matrix4D & mat, PyTypeObject *T = &Type) :PyObjectBase(new Matrix4D(mat),T){} Matrix4D value() const { return *(getMatrixPtr()); }