Computes eigenvalues and eigenvectors of a symmetric matrix.
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static bool Eigen( InputArray src, OutputArray eigenvalues, OutputArray eigenvectors, int lowindex = -1, int highindex = -1 )
Parameters
- src
- Type: OpenCvSharp.CPlusPlusInputArray
The input matrix; must have CV_32FC1 or CV_64FC1 type, square size and be symmetric: src^T == src - eigenvalues
- Type: OpenCvSharp.CPlusPlusOutputArray
The output vector of eigenvalues of the same type as src; The eigenvalues are stored in the descending order. - eigenvectors
- Type: OpenCvSharp.CPlusPlusOutputArray
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 - lowindex (Optional)
- Type: SystemInt32
Optional index of largest eigenvalue/-vector to calculate. - highindex (Optional)
- Type: SystemInt32
Optional index of smallest eigenvalue/-vector to calculate.
Return Value
Type: Boolean[Missing <returns> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.Eigen(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.CPlusPlus.OutputArray,System.Int32,System.Int32)"]
See Also