EPSOrthogonalize

Orthogonalize a vector with respect to a set of vectors.

Synopsis

#include "slepceps.h" 
PetscErrorCode EPSOrthogonalize(EPS eps,int n,PetscTruth *which,Vec *V,Vec v,PetscScalar *H,PetscReal *norm,PetscTruth *lindep)
Collective on EPS

Input Parameters

eps - the eigenproblem solver context
n - number of columns of V
which - logical array indicating columns of V to be used
V - set of vectors

Input/Output Parameter

v - (input) vector to be orthogonalized and (output) result of orthogonalization

Output Parameter

H - coefficients computed during orthogonalization
norm - norm of the vector after being orthogonalized
lindep - flag indicating that refinement did not improve the quality of orthogonalization

Notes

This function applies an orthogonal projector to project vector v onto the orthogonal complement of the span of the columns of V.

On exit, v0 = [V v]*H, where v0 is the original vector v.

This routine does not normalize the resulting vector.

See Also

EPSSetOrthogonalization(), EPSBiOrthogonalize()

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