Function opencv::core::eigen_non_symmetric

source ·
pub fn eigen_non_symmetric(
    src: &impl ToInputArray,
    eigenvalues: &mut impl ToOutputArray,
    eigenvectors: &mut impl ToOutputArray
) -> Result<()>
Expand description

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()

§Parameters

  • src: input matrix (CV_32FC1 or CV_64FC1 type).
  • eigenvalues: output vector of eigenvalues (type is the same type as src).
  • eigenvectors: 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.

§See also

eigen