Click or drag to resize
Accord.NET (logo)

Matrix3x3 Structure

A structure representing 3x3 matrix.

Namespace:  Accord.Math
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
[SerializableAttribute]
public struct Matrix3x3
Request Example View Source

The Matrix3x3 type exposes the following members.

Properties
  NameDescription
Public propertyDeterminant
Calculates determinant of the matrix.
Public propertyStatic memberIdentity
Provides an identity matrix with all diagonal elements set to 1.
Top
Methods
  NameDescription
Public methodStatic memberAdd(Matrix3x3, Matrix3x3)
Adds corresponding components of two matrices.
Public methodStatic memberAdd(Matrix3x3, Single)
Adds specified value to all components of the specified matrix.
Public methodAdjugate
Calculate adjugate of the matrix, adj(A).
Public methodStatic memberCreateDiagonal
Creates a diagonal matrix using the specified vector as diagonal elements.
Public methodStatic memberCreateFromColumns
Creates a matrix from 3 columns specified as vectors.
Public methodStatic memberCreateFromRows
Creates a matrix from 3 rows specified as vectors.
Public methodStatic memberCreateFromYawPitchRoll
Creates rotation matrix to rotate an object around X, Y and Z axes.
Public methodStatic memberCreateRotationX
Creates rotation matrix around X axis.
Public methodStatic memberCreateRotationY
Creates rotation matrix around Y axis.
Public methodStatic memberCreateRotationZ
Creates rotation matrix around Z axis.
Public methodEquals(Object)
Tests whether the matrix equals to the specified object.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Matrix3x3)
Tests whether the matrix equals to the specified one.
Public methodExtractYawPitchRoll
Extract rotation angles from the rotation matrix.
Public methodGetColumn
Get column of the matrix.
Public methodGetHashCode
Returns the hashcode for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetRow
Get row of the matrix.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInverse
Calculate inverse of the matrix, A-1.
Public methodStatic memberMultiply(Matrix3x3, Matrix3x3)
Multiplies two specified matrices.
Public methodStatic memberMultiply(Matrix3x3, Vector3)
Multiplies specified matrix by the specified vector.
Public methodStatic memberMultiply(Matrix3x3, Single)
Multiplies matrix by the specified factor.
Public methodMultiplySelfByTranspose
Multiply the matrix by its transposition, A*AT.
Public methodMultiplyTransposeBySelf
Multiply transposition of this matrix by itself, AT*A.
Public methodPseudoInverse
Calculate pseudo inverse of the matrix, A+.
Public methodStatic memberSubtract
Subtracts corresponding components of two matrices.
Public methodSVD
Calculate Singular Value Decomposition (SVD) of the matrix, such as A=U*E*VT.
Public methodToArray
Returns array representation of the matrix.
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Public methodTranspose
Transpose the matrix, AT.
Top
Operators
  NameDescription
Public operatorStatic memberAddition(Matrix3x3, Matrix3x3)
Adds corresponding components of two matrices.
Public operatorStatic memberAddition(Matrix3x3, Single)
Adds specified value to all components of the specified matrix.
Public operatorStatic memberEquality
Tests whether two specified matrices are equal.
Public operatorStatic memberInequality
Tests whether two specified matrices are not equal.
Public operatorStatic memberMultiply(Matrix3x3, Matrix3x3)
Multiplies two specified matrices.
Public operatorStatic memberMultiply(Matrix3x3, Vector3)
Multiplies specified matrix by the specified vector.
Public operatorStatic memberMultiply(Matrix3x3, Single)
Multiplies matrix by the specified factor.
Public operatorStatic memberSubtraction
Subtracts corresponding components of two matrices.
Top
Fields
  NameDescription
Public fieldV00
Row 0 column 0 element of the matrix.
Public fieldV01
Row 0 column 1 element of the matrix.
Public fieldV02
Row 0 column 2 element of the matrix.
Public fieldV10
Row 1 column 0 element of the matrix.
Public fieldV11
Row 1 column 1 element of the matrix.
Public fieldV12
Row 1 column 2 element of the matrix.
Public fieldV20
Row 2 column 0 element of the matrix.
Public fieldV21
Row 2 column 1 element of the matrix.
Public fieldV22
Row 2 column 2 element of the matrix.
Top
Extension Methods
  NameDescription
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodIsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Public Extension MethodTo(Type)Overloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Public Extension MethodToTOverloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Top
Remarks

The structure incapsulates elements of a 3x3 matrix and provides some operations with it.

See Also