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

Namespace:  AForge.Math
Assembly:  AForge.Math (in AForge.Math.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public void SVD(
	out Matrix3x3 u,
	out Vector3 e,
	out Matrix3x3 v
)

Parameters

u
Type: AForge.Math..::.Matrix3x3 %
Output parameter which gets 3x3 U matrix.
e
Type: AForge.Math..::.Vector3 %
Output parameter which gets diagonal elements of the E matrix.
v
Type: AForge.Math..::.Matrix3x3 %
Output parameter which gets 3x3 V matrix.

Remarks

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

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

See Also