PETSc version 3.16.6
VecMean
Computes the arithmetic mean of all the components of a vector.
Synopsis
#include "petscvec.h"
PetscErrorCode VecMean(Vec v,PetscScalar *mean)
Collective on Vec
Input Parameter
Output Parameter
See Also
VecSum(), VecNorm()
Level
beginner
Location
src/vec/vec/utils/vinv.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages