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, bool computeEigenvectors, OutputArray eigenvalues, OutputArray eigenvectors )
Parameters
- src
- Type: OpenCvSharp.CPlusPlusInputArray
The input matrix; must have CV_32FC1 or CV_64FC1 type, square size and be symmetric: src^T == src - computeEigenvectors
- Type: SystemBoolean
[Missing <param name="computeEigenvectors"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.Eigen(OpenCvSharp.CPlusPlus.InputArray,System.Boolean,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.CPlusPlus.OutputArray)"]
- 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
Return Value
Type: Boolean[Missing <returns> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.Eigen(OpenCvSharp.CPlusPlus.InputArray,System.Boolean,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.CPlusPlus.OutputArray)"]
See Also