slepc-3.22.1 2024-10-28
VecCheckOrthonormality
Checks (or prints) the level of (bi-)orthonormality of a set of vectors.
Synopsis
#include "slepcvec.h"
PetscErrorCode VecCheckOrthonormality(Vec V[],PetscInt nv,Vec W[],PetscInt nw,Mat B,PetscViewer viewer,PetscReal *lev)
Collective
Input Parameters
| V | - a set of vectors
|
| nv | - number of V vectors
|
| W | - an alternative set of vectors (optional)
|
| nw | - number of W vectors
|
| B | - matrix defining the inner product (optional)
|
| viewer | - optional visualization context
|
Output Parameter
| lev | - level of orthogonality (optional)
|
Notes
This function is equivalent to VecCheckOrthonormality(), but in addition it checks
that the diagonal of W'*V (or W'*B*V) is equal to all ones.
See Also
VecCheckOrthogonality()
Level
developer
Location
src/sys/vec/vecutil.c
Examples
src/eps/tutorials/ex47.c
src/svd/tutorials/ex45.c
src/svd/tutorials/ex52.c
src/svd/tutorials/ex53.c
Index of all sys routines
Table of Contents for all manual pages
Index of all manual pages