#include "slepcbv.h" PetscErrorCode BVNormalize(BV bv,PetscScalar *eigi)Collective
bv | - basis vectors | |
eigi | - (optional) imaginary parts of eigenvalues |
If the optional argument eigi is passed (taken into account only in real scalars) it is interpreted as the imaginary parts of the eigenvalues and the BV is supposed to contain the corresponding eigenvectors. Suppose the first three values are eigi = { 0, alpha, -alpha }, then the first column is normalized as usual, but the second and third ones are normalized assuming that they contain the real and imaginary parts of a complex conjugate pair of eigenvectors.
If eigi is passed, the inner-product matrix is ignored.
If there are leading columns, they are not modified (are assumed to be already normalized).