NormType#
determines what type of norm to compute
Synopsis#
typedef enum {
NORM_1 = 0,
NORM_2 = 1,
NORM_FROBENIUS = 2,
NORM_INFINITY = 3,
NORM_1_AND_2 = 4
} NormType;
Values#
NORM_1
- the one norm, . , maximum column sumNORM_2
- the two norm, (vectors only)NORM_FROBENIUS
- , same asNORM_2
for vectorsNORM_INFINITY
- . , maximum row sumNORM_1_AND_2
- computes both the 1 and 2 norm of a vector. The values are stored in two adjacentPetscReal
memory locations
Note#
See Also#
Vectors and Parallel Data, Vec
, Mat
, VecNorm()
, VecNormBegin()
, VecNormEnd()
, MatNorm()
, NORM_1
,
NORM_2
, NORM_FROBENIUS
, NORM_INFINITY
, NORM_1_AND_2
, ReductionType
Level#
beginner
Location#
Examples#
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages