NORM_2#

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

See Also#

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.html
src/vec/vec/tutorials/ex11f90.F90.html
src/vec/vec/tutorials/ex11f.F90.html
src/vec/vec/tutorials/ex1.c.html
src/vec/vec/tutorials/ex1f90.F90.html
src/vec/vec/tutorials/ex1f.F90.html
src/vec/vec/tutorials/ex20f90.F90.html
src/vec/vec/tutorials/performance.c.html
src/mat/tutorials/ex10.c.html
src/mat/tutorials/ex2.c.html
src/mat/tutorials/ex3.c.html


Edit on GitLab

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