#include "petscmat.h" PetscErrorCode MatGetColumnReductions(Mat A,PetscInt type,PetscReal reductions[])
A | - the matrix | |
type | - A constant defined in NormType or ReductionType: NORM_2, NORM_1, NORM_INFINITY, REDUCTION_SUM_REALPART, REDUCTION_SUM_IMAGINARYPART, REDUCTION_MEAN_REALPART, REDUCTION_MEAN_IMAGINARYPART |
reductions | - an array as large as the TOTAL number of columns in the matrix |