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/tao/pde_constrained/tutorials/elliptic.c
src/tao/constrained/tutorials/tomographyADMM.c
src/tao/unconstrained/tutorials/eptorsion1.c
src/tao/unconstrained/tutorials/rosenbrock1.c
src/tao/pde_constrained/tutorials/parabolic.c
src/tao/unconstrained/tutorials/eptorsion3.c
src/tao/tutorials/ex4.c
src/tao/leastsquares/tutorials/tomography.c


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