eigenNonSymmetric
import { eigenNonSymmetric } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Calculates eigenvalues and eigenvectors of a non-symmetric matrix (real eigenvalues only).
Note: Assumes real eigenvalues.
The function calculates eigenvalues and eigenvectors (optional) of the square matrix src:
src*eigenvectors.row(i).t() = eigenvalues.at<srcType>(i)*eigenvectors.row(i).t()
See: eigen
eigenNonSymmetric(src: Mat, eigenvalues: Mat, eigenvectors: Mat): void;srcinput matrix (CV_32FC1 or CV_64FC1 type).
eigenvaluesOutput destination, filled by the native operation. output vector of eigenvalues (type is the same type as src).
eigenvectorsOutput destination, filled by the native operation. output matrix of eigenvectors (type is the same type as src). The eigenvectors are stored as subsequent matrix rows, in the same order as the corresponding eigenvalues.
These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.