eigenNonSymmetric function

(Mat, Mat) eigenNonSymmetric(
  1. InputArray src, {
  2. OutputArray? eigenvalues,
  3. OutputArray? eigenvectors,
})

EigenNonSymmetric calculates eigenvalues and eigenvectors of a non-symmetric matrix (real eigenvalues only).

For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#gaf51987e03cac8d171fbd2b327cf966f6

Implementation

(Mat eigenvalues, Mat eigenvectors) eigenNonSymmetric(
  InputArray src, {
  OutputArray? eigenvalues,
  OutputArray? eigenvectors,
}) {
  eigenvalues ??= Mat.empty();
  eigenvectors ??= Mat.empty();
  cvRun(() => ccore.cv_eigenNonSymmetric(src.ref, eigenvalues!.ref, eigenvectors!.ref, ffi.nullptr));
  return (eigenvalues, eigenvectors);
}