PETSc version 3.17.5
Fix/Edit manual page

MatGetColumnMeansImaginaryPart

Gets the arithmetic means of the imaginary part of each column of a sparse or dense matrix.

Synopsis

#include "petscmat.h"  
PetscErrorCode MatGetColumnMeansImaginaryPart(Mat A,PetscReal means[])

Input Parameter

A - the matrix

Output Parameter

sums - an array as large as the TOTAL number of columns in the matrix

Notes

Each process has ALL the column means after the call. Because of the way this is computed each process gets all the values, if each process wants only some of the values it should extract the ones it wants from the array.

See Also

MatGetColumnMeansRealPart(), VecSum(), MatGetColumnSums(), MatGetColumnNorms(), MatGetColumnReductions()

Level

intermediate

Location

src/mat/utils/getcolv.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages