VecMean#
Computes the arithmetic mean of all the components of a vector.
Synopsis#
#include "petscvec.h"
PetscErrorCode VecMean(Vec v, PetscScalar *mean)
Collective
Input Parameter#
v - the vector
Output Parameter#
mean - the result
See Also#
Level#
beginner
Location#
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages