#include "mat.h" PetscErrorCode MatCreateADA(Mat mat,Vec d1, Vec d2, Mat *J)Collective on matrix
mat | - matrix of arbitrary type | |
d1 | - A vector defining a diagonal matrix | |
d2 | - A vector defining a diagonal matrix |
J | - New matrix whose operations are defined in terms of mat, D1, and D2. |