EPSSortEigenvaluesReal

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

Synopsis

#include "slepceps.h" 
PetscErrorCode EPSSortEigenvaluesReal(EPS eps,PetscInt n,PetscReal *eig,PetscInt *perm)
Not Collective

Input Parameters

eps - the 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

EPSSortEigenvalues(), EPSSetWhichEigenpairs(), EPSCompareEigenvalues()

Location: src/eps/interface/solve.c
Index of all EPS routines
Table of Contents for all manual pages
Index of all manual pages