Matrix.Matrix

Matrix()

Constructor creates stanrard 1 to 1 matrix: [ A B C D E F ] = [ 1, 0, 0, 1, 0, 0]

public Matrix()

Examples

Matrix m = new Matrix();

See Also


Matrix(double[])

Constructor accepts a matrix with following array representation: [ A B C D E F ]

public Matrix(double[] matrixArray)
ParameterTypeDescription
matrixArrayDouble[]Matrix data array.

Examples

double[] c = new double[] { 1, 0, 0, 1, 10, 20 };
Matrix m = new Matrix(c);

See Also


Matrix(float[])

Constructor accepts a matrix with following array representation: [ A B C D E F ]

public Matrix(float[] matrixArray)
ParameterTypeDescription
matrixArraySingle[]Matrix data array.

See Also


Matrix(Matrix)

Constructor accepts a matrix to create a copy

public Matrix(Matrix matrix)
ParameterTypeDescription
matrixMatrixMatrix object.

See Also


Matrix(double, double, double, double, double, double)

Initializes transformation matrix with specified coefficients.

public Matrix(double a, double b, double c, double d, double e, double f)
ParameterTypeDescription
aDoubleA matrix value.
bDoubleB matrix value.
cDoubleC matrix value.
dDoubleD matrix value.
eDoubleE matrix value.
fDoubleF matrix value.

Examples

Matrix m = new Matrix(1, 0, 0, 1, 3, 3);

See Also