NORM_2#

the two norm, ||v|| = sqrt(sum_i |v_i|^2) (vectors only)

See Also#

Vectors and Parallel Data, NormType, MatNorm(), VecNorm(), VecNormBegin(), VecNormEnd(), NORM_1, NORM_FROBENIUS, NORM_INFINITY, NORM_1_AND_2

Level#

beginner

Location#

include/petscvec.h

Examples#

src/vec/vec/tutorials/ex11.c
src/vec/vec/tutorials/performance.c
src/vec/vec/tutorials/ex1.c
src/ts/tutorials/ex5.c
src/ts/tutorials/ex12.c
src/ts/tutorials/ex21.c
src/ts/tutorials/ex52.c
src/ts/tutorials/ex7.c
src/ts/tutorials/ex47.c
src/ts/tutorials/ex14.c


Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages