Click or drag to resize
Accord.NET (logo)

Matrix3x3SVD Method

Calculate Singular Value Decomposition (SVD) of the matrix, such as A=U*E*VT.

Namespace:  Accord.Math
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public void SVD(
	out Matrix3x3 u,
	out Vector3 e,
	out Matrix3x3 v
)
Request Example View Source

Parameters

u
Type: Accord.MathMatrix3x3
Output parameter which gets 3x3 U matrix.
e
Type: Accord.MathVector3
Output parameter which gets diagonal elements of the E matrix.
v
Type: Accord.MathMatrix3x3
Output parameter which gets 3x3 V matrix.
Remarks

Having components U, E and V the source matrix can be reproduced using below code:

Matrix3x3 source = u * Matrix3x3.Diagonal( e ) * v.Transpose( );

See Also