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=0.0) Return an enum value of ScaleType. Possible values are: Uniform, NonUniformLeft, NonUniformRight, NoScaling or Other if it's not a scale matrix nullify() - make this the null matrix isNull() - check if this is the null matrix unity() - make this matrix to unity isUnity() - check if this is the unit matrix transform(Vector,Matrix) - return the dot product of the two vectors col(index) Return the vector of a column setCol(index, Vector) Set the vector of a column row(index) Return the vector of a row setRow(index, Vector) Set the vector of a row trace() Return the trace of the 3x3 sub-matrix as vector setTrace(Vector) Set the trace of the 3x3 sub-matrix 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()); }