Computes eigenvalues and eigenvectors of a symmetric matrix.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic static bool Eigen(
InputArray src,
OutputArray eigenvalues,
OutputArray eigenvectors
)
Public Shared Function Eigen (
src As InputArray,
eigenvalues As OutputArray,
eigenvectors As OutputArray
) As Boolean
public:
static bool Eigen(
InputArray^ src,
OutputArray^ eigenvalues,
OutputArray^ eigenvectors
)
static member Eigen :
src : InputArray *
eigenvalues : OutputArray *
eigenvectors : OutputArray -> bool
OpenCvSharp.Cv2.Eigen = function(src, eigenvalues, eigenvectors);
Parameters
- src
- Type: OpenCvSharpInputArray
The input matrix; must have CV_32FC1 or CV_64FC1 type,
square size and be symmetric: src^T == src - eigenvalues
- Type: OpenCvSharpOutputArray
The output vector of eigenvalues of the same type as src;
The eigenvalues are stored in the descending order. - eigenvectors
- Type: OpenCvSharpOutputArray
The output matrix of eigenvectors;
It will have the same size and the same type as src; The eigenvectors are stored
as subsequent matrix rows, in the same order as the corresponding eigenvalues
Return Value
Type:
Boolean
See Also