DMatrix3x3

public double M00

Language: C#

The element at row 0, column 0.

public double M01

Language: C#

The element at row 0, column 1.

public double M02

Language: C#

The element at row 0, column 2.

public double M10

Language: C#

The element at row 1, column 0.

public double M11

Language: C#

The element at row 1, column 1.

public double M12

Language: C#

The element at row 1, column 2.

public double M20

Language: C#

The element at row 2, column 0.

public double M21

Language: C#

The element at row 2, column 1.

public double M22

Language: C#

The element at row 2, column 2.

public DMatrix3x3(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22)

Language: C#

Initializes a new instance of the [] struct.

public DMatrix3x3(DMatrix3x3 other)

Language: C#

Initializes a new instance of the [] struct as copy of another matrix.

public static readonly DMatrix3x3 Identity = new(1, 0, 0, 0, 1, 0, 0, 0, 1)

Language: C#

Return Value: new(1, 0, 0, 0, 1, 0, 0, 0, 1)

Identity matrix.

public double Determinant { get; }

Language: C#

Determinant of the matrix.

public DMatrix3x3 Inverse { get; }

Language: C#

Inverse of the matrix.

public static void Scale(ref DMatrix3x3 matrix, double scale)

Language: C#

Scale matrix by a scalar.

public static DMatrix4x4 Expand(DMatrix3x3 matrix)

Language: C#

Expands matrix to 3x3 by inserting axis for homogeneous coordinates.

public static void Translate(ref DMatrix3x3 matrix, DVector2 translation)

Language: C#

Translate matrix by a vector.

public static void Scale(ref DMatrix3x3 matrix, DVector2 scale)

Language: C#

Scale matrix by a vector.

public static void Rotate(ref DMatrix3x3 transform, float angle)

Language: C#

Rotates matrix.

public DMatrix3x3 Transpose

Language: C#

Transposes this matrix.

public override string ToString()

Language: C#

Returns a string representation of the matrix.

public static operator DMatrix3x3 +(DMatrix3x3 a, DMatrix3x3 b)

Language: C#

Adds two matrices.

public static operator DMatrix3x3 -(DMatrix3x3 a, DMatrix3x3 b)

Language: C#

Subtracts two matrices.

public static operator DMatrix3x3 *(DMatrix3x3 matrix, double scalar)

Language: C#

Multiplies matrix by a scalar.

public static operator DMatrix3x3 *(double scalar, DMatrix3x3 matrix)

Language: C#

Multiplies matrix by a scalar.

public static operator DMatrix3x3 /(DMatrix3x3 matrix, double scalar)

Language: C#

Divides matrix by a scalar.

public static operator DMatrix3x3 /(double scalar, DMatrix3x3 matrix)

Language: C#

Divides scalar by a matrix.

public static operator DVector3 *(DMatrix3x3 matrix, DVector3 vector)

Language: C#

Multiplies matrix by vector.

public static operator DVector3 *(DVector3 vector, DMatrix3x3 matrix)

Language: C#

Multiplies vector by matrix.

public static operator DMatrix3x2 *(DMatrix3x3 a, DMatrix3x2 b)

Language: C#

Multiplies a DMatrix3x3 by a DMatrix3x2.

public static operator DMatrix3x3 *(DMatrix3x3 a, DMatrix3x3 b)

Language: C#

Multiplies a DMatrix3x3 by a DMatrix3x3.

public static operator DMatrix2x3 *(DMatrix2x3 a, DMatrix3x3 b)

Language: C#

Multiplies a DMatrix2x3 by a DMatrix3x3 .

public static operator bool ==(DMatrix3x3 a, DMatrix3x3 b)

Language: C#

Checks if two matrices are equal.

public static operator bool !=(DMatrix3x3 a, DMatrix3x3 b)

Language: C#

Checks if two matrices are not equal.