NORM_1_AND_2 — PETSc 3.23.0 documentation

Skip to main content
`Ctrl`+`K`

# NORM_1_AND_2

computes both the 1 and 2 norm of a vector. The values are stored in two adjacent `PetscReal` memory locations

## See Also

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

## Level

beginner

## Location

include/petscvec.h

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