The Matrix2x2 type exposes the following members.

Constructors

  NameDescription
Public methodMatrix2x2(Matrix2x2)
Copy constructor for the 2x2 matrix struct
Public methodMatrix2x2(Matrix4x4)
Copies the significant elements m11, m12, m21, m22 from the 4x4 matrix
Public methodMatrix2x2(Double, Double, Double, Double)
Contructor for a 2x2 matrix from 4 float values, order is row major

Methods

  NameDescription
Public methodDecompose
Superfast 2d decomposition
Public methodEquals(Object) (Overrides ValueType..::..Equals(Object).)
Public methodEquals(Matrix2x2)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode (Overrides ValueType..::..GetHashCode()()()().)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Public methodTranspose
Transpose this 2x2 matrix

Operators

  NameDescription
Public operatorStatic memberAddition
matrix + matrix, adds the values of two matrices component wise
Public operatorStatic memberDivision
matrix / value, divides all matrix components with a value
Public operatorStatic memberMultiply(Matrix2x2, Matrix2x2)
2d matrix multiplication
Public operatorStatic memberMultiply(Matrix2x2, Vector2D)
matrix * 2d vector, applies a matrix transform to a 2d-vector

Fields

  NameDescription
Public fielda
The 1. data element of 1. row
Public fieldb
The 2. data element of 1. row
Public fieldc
The 1. data element of 2. row
Public fieldd
The 2. data element of 2. row

See Also