#include "petscmat.h" PetscErrorCode MatKAIJGetT(Mat A,PetscInt *m,PetscInt *n,PetscScalar **T)Not Collective; the entire T is stored and returned independently on all processes
A | - the KAIJ matrix |
m | - the number of rows in T | |
n | - the number of columns in T | |
T | - the T matrix, in form of a scalar array in column-major format |
Note: All output parameters are optional (pass NULL or PETSC_IGNORE if not desired)