QEPSortEigenvaluesReal

Sorts a list of eigenvalues according to a certain criterion (version for real eigenvalues only).

Synopsis

#include "slepcqep.h" 
PetscErrorCode QEPSortEigenvaluesReal(QEP qep,PetscInt n,PetscReal *eig,PetscInt *perm)
Not Collective

Input Parameters

qep - the quadratic eigensolver context
n - number of eigenvalue in the list
eig - pointer to the array containing the eigenvalues (real)

Output Parameter

perm - resulting permutation

Note

The result is a list of indices in the original eigenvalue array corresponding to the first nev eigenvalues sorted in the specified criterion.

See Also

QEPSortEigenvalues(), QEPSetWhichEigenpairs(), QEPCompareEigenvalues()

Location: src/qep/interface/qepsolve.c
Index of all QEP routines
Table of Contents for all manual pages
Index of all manual pages