Click or drag to resize
DigitalRuneMatrix33F Structure
Defines a 3 x 3 matrix (single-precision).

Namespace: DigitalRune.Mathematics.Algebra
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
[SerializableAttribute]
[TypeConverterAttribute(typeof(ExpandableObjectConverter))]
[DataContractAttribute]
public struct Matrix33F : IEquatable<Matrix33F>

The Matrix33F type exposes the following members.

Constructors
Methods
  NameDescription
Public methodAbsolute
Sets each matrix element to its absolute value.
Public methodStatic memberAbsolute(Matrix33F)
Returns a matrix with the absolute values of the elements of the given matrix.
Public methodStatic memberAdd
Adds two matrices.
Public methodStatic memberAreNumericallyEqual(Matrix33F, Matrix33F)
Determines whether two matrices are equal (regarding the tolerance EpsilonF).
Public methodStatic memberAreNumericallyEqual(Matrix33F, Matrix33F, Single)
Determines whether two matrices are equal (regarding a specific tolerance).
Public methodClampToZero
Clamps near-zero matrix elements to zero.
Public methodClampToZero(Single)
Clamps near-zero matrix elements to zero.
Public methodStatic memberClampToZero(Matrix33F)
Returns a matrix with the matrix elements clamped to the range [min, max].
Public methodStatic memberClampToZero(Matrix33F, Single)
Returns a matrix with the matrix elements clamped to the range [min, max].
Public methodStatic memberCreateRotation(QuaternionF)
Creates a rotation matrix from a unit quaternion.
Public methodStatic memberCreateRotation(Vector3F, Single)
Creates a rotation matrix from axis and angle.
Public methodStatic memberCreateRotationX
Creates a matrix that specifies a rotation around the x-axis.
Public methodStatic memberCreateRotationY
Creates a matrix that specifies a rotation around the y-axis.
Public methodStatic memberCreateRotationZ
Creates a matrix that specifies a rotation around the z-axis.
Public methodStatic memberCreateScale(Single)
Creates a uniform scaling matrix.
Public methodStatic memberCreateScale(Vector3F)
Creates a scaling matrix.
Public methodStatic memberCreateScale(Single, Single, Single)
Creates a scaling matrix.
Public methodStatic memberDivide
Divides a matrix by a scalar.
Public methodEquals(Object)
Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Matrix33F)
Indicates whether the current object is equal to another object of the same type.
Public methodGetColumn
Gets a column as Vector3F.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetRow
Gets a row as Vector3F.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInvert
Inverts the matrix.
Public methodStatic memberMultiply(Single, Matrix33F)
Multiplies a matrix by a scalar.
Public methodStatic memberMultiply(Matrix33F, Matrix33F)
Multiplies two matrices.
Public methodStatic memberMultiply(Matrix33F, Vector3F)
Multiplies a matrix with a column vector.
Public methodStatic memberMultiplyTransposed
Multiplies the transposed of the given matrix with a column vector.
Public methodStatic memberNegate
Negates a matrix.
Public methodOrthogonalize
Re-orthogonalizes this instance.
Public methodSetColumn
Sets a column from a Vector3F.
Public methodSetRow
Sets a row from a Vector3F.
Public methodStatic memberSubtract
Subtracts two matrices.
Public methodToArray1D
Converts this matrix to an array of float values.
Public methodToArray2D
Converts this Matrix33F to a 2-dimensional float array.
Public methodToArrayJagged
Converts this Matrix33F to a jagged float array.
Public methodToList
Converts this matrix to a list of float values.
Public methodToMatrix33D
Converts this Matrix33F to Matrix33D.
Public methodToMatrixF
Converts this Matrix33F to MatrixF.
Public methodToString
Returns the string representation of this matrix.
(Overrides ValueTypeToString.)
Public methodToString(IFormatProvider)
Returns the string representation of this matrix using the specified culture-specific format information.
Public methodTranspose
Transposes this matrix.
Public methodTryInvert
Inverts the matrix if it is invertible.
Top
Operators
  NameDescription
Public operatorStatic memberAddition
Adds two matrices.
Public operatorStatic memberDivision
Divides a matrix by a scalar.
Public operatorStatic memberEquality
Tests if two matrices are equal.
Public operatorStatic member(Matrix33F to Single)
Performs an explicit conversion from Matrix33F to a 2-dimensional float array.
Public operatorStatic member(Matrix33F to Single)
Performs an explicit conversion from Matrix33F to a jagged float array.
Public operatorStatic member(Matrix33F to MatrixF)
Performs an implicit conversion from Matrix33F to MatrixF.
Public operatorStatic member(Matrix33F to Matrix33D)
Performs an implicit conversion from Matrix33F to Matrix33D.
Public operatorStatic memberInequality
Tests if two matrices are not equal.
Public operatorStatic memberMultiply(Single, Matrix33F)
Multiplies a matrix by a scalar.
Public operatorStatic memberMultiply(Matrix33F, Matrix33F)
Multiplies two matrices.
Public operatorStatic memberMultiply(Matrix33F, Vector3F)
Multiplies a matrix with a column vector.
Public operatorStatic memberMultiply(Matrix33F, Single)
Multiplies a matrix and a scalar.
Public operatorStatic memberSubtraction
Subtracts two matrices.
Public operatorStatic memberUnaryNegation
Negates a matrix.
Top
Fields
  NameDescription
Public fieldStatic memberIdentity
Returns the 3 x 3 identity matrix.
Public fieldM00
The element in first row, first column.
Public fieldM01
The element in first row, second column.
Public fieldM02
The element in first row, third column.
Public fieldM10
The element in second row, first column.
Public fieldM11
The element in second row, second column.
Public fieldM12
The element in second row, third column.
Public fieldM20
The element in third row, first column.
Public fieldM21
The element in third row, second column.
Public fieldM22
The element in third row, third column.
Public fieldStatic memberOne
Returns a Matrix33F with all of its components set to one.
Public fieldStatic memberZero
Returns a Matrix33F with all of its components set to zero.
Top
Properties
  NameDescription
Public propertyDeterminant
Returns the determinant of this matrix.
Public propertyInverse
Returns the inverse of this matrix.
Public propertyIsNaN
Gets a value indicating whether an element of the matrix is NaN.
Public propertyIsOrthogonal
Gets a value indicating whether this instance is orthogonal.
Public propertyIsRotation
Gets a value indicating whether this instance is a rotation matrix.
Public propertyIsSymmetric
Gets a value indicating whether this matrix is symmetric.
Public propertyItemInt32
Gets or sets the element at the specified index.
Public propertyItemInt32, Int32
Gets or sets the element at the specified index.
Public propertyTrace
Gets the matrix trace (the sum of the diagonal elements).
Public propertyTransposed
Returns the transposed of this matrix.
Top
Remarks
All indices are zero-based. The matrix looks like this:
M00 M01 M02
M10 M11 M12
M20 M21 M22
See Also