PETSc version 3.16.6
Fix/Edit manual page

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

v - the vector

Output Parameter

mean - the result

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