#include "slepcvec.h" PetscErrorCode VecNormalizeComplex(Vec xr,Vec xi,PetscBool iscomplex,PetscReal *norm)Collective
xr | - the real part of the vector (overwritten on output) | |
xi | - the imaginary part of the vector (not referenced if iscomplex is false) | |
iscomplex | - a flag indicating if the vector is complex |
norm | - the vector norm before normalization (can be set to NULL) |