eigenNonSymmetricAsync function

Future<(Mat, Mat)> eigenNonSymmetricAsync(
  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

Future<(Mat eigenvalues, Mat eigenvectors)> eigenNonSymmetricAsync(
  InputArray src, {
  OutputArray? eigenvalues,
  OutputArray? eigenvectors,
}) async {
  eigenvalues ??= Mat.empty();
  eigenvectors ??= Mat.empty();
  return cvRunAsync0(
    (callback) => ccore.cv_eigenNonSymmetric(src.ref, eigenvalues!.ref, eigenvectors!.ref, callback),
    (c) {
      return c.complete((eigenvalues!, eigenvectors!));
    },
  );
}