create_matrix method

create_matrix

Creates a new identity matrix.

Returns

The created IMatrix.

def create_matrix(self):
    ...

create_matrix

Creates a new matrix with the same contents as the specified matrix.

Returns

The created IMatrix.

def create_matrix(self, matrix):
    ...
ParameterTypeDescription
matrixIMatrixThe matrix to copy.

create_matrix

Creates a new matrix with the specified elements.

Returns

The created IMatrix.

def create_matrix(self, m11, m12, m21, m22, m31, m32):
    ...
ParameterTypeDescription
m11floatThe value in the first row and first column of the matrix.
m12floatThe value in the first row and second column of the matrix.
m21floatThe value in the second row and first column of the matrix.
m22floatThe value in the second row and second column of the matrix.
m31floatThe value in the third row and first column of the matrix.
m32floatThe value in the third row and second column of the matrix.

See Also