  # Matrix Structure

Represents a 3x3 double precision matrix. Syntax
`public struct Matrix : IEquatable<Matrix>`

The Matrix type exposes the following members. Constructors
NameDescription Matrix(Double)
Initializes a new instance of Matrix. Matrix(Double, Double, Double, Double, Double, Double, Double, Double, Double)
Initializes a new instance of Matrix.
Top Properties
NameDescription  Identity
Gets the identity matrix. M11
Gets or sets the matrix element [0,0]. M12
Gets or sets the matrix element [0,1]. M13
Gets or sets the matrix element [0,2]. M21
Gets or sets the matrix element [1,0]. M22
Gets or sets the matrix element [1,1]. M23
Gets or sets the matrix element [1,2]. M31
Gets or sets the matrix element [2,0]. M32
Gets or sets the matrix element [2,1]. M33
Gets or sets the matrix element [2,2].  Zero
Gets the zero matrix.
Top Methods
NameDescription  Add Determinant
Calculate the determinant of the actual matrix. Equals(Matrix)
Check if the components of two matrices are approximate equal. Equals(Object)
Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object).)  Equals(Matrix, Matrix)
Check if the components of two matrices are approximate equal. Equals(Matrix, Double)
Check if the components of two matrices are approximate equal.  Equals(Matrix, Matrix, Double)
Check if the components of two matrices are approximate equal. GetHashCode
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.) Inverse
Calculates the inverse matrix.  Multiply(Matrix, Matrix)
Product of two matrices.  Multiply(Matrix, Vector3)
Product of a matrix with a vector.  Multiply(Matrix, Double)
Product of a matrix with a scalar.  RotationAxis
Builds a rotation matrix for a rotation around an arbitray u-axis.  RotationX
Builds a rotation matrix for a rotation around the x-axis.  RotationY
Builds a rotation matrix for a rotation around the y-axis.  RotationZ
Builds a rotation matrix for a rotation around the z-axis.  Round
Matrix elements rounding.  Scale(Double)
Build a scaling matrix.  Scale(Vector3)
Build a scaling matrix.  Scale(Double, Double, Double)
Build a scaling matrix.  Subtract
Matrix subtraction. ToString
Obtains a string that represents the matrix elements.
(Overrides ValueTypeToString.) Transpose
Obtains the transpose matrix.
Top Operators
NameDescription  Addition  Equality
Check if the components of two matrices are equal.  Inequality
Check if the components of two matrices are different.  Multiply(Matrix, Matrix)
Product of two matrices.  Multiply(Matrix, Vector3)
Product of a matrix with a vector.  Multiply(Matrix, Double)
Product of a matrix with a scalar.  Subtraction
Matrix subtraction.
Top See Also