slepc-3.17.2 2022-08-09
Report Typos and Errors

# 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 on V

### 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()

Location: src/sys/vec/vecutil.c

### Examples

src/eps/tutorials/ex47.c.html
src/svd/tutorials/ex45.c.html
Index of all sys routines
Table of Contents for all manual pages
Index of all manual pages