#include "petscmat.h" PetscErrorCode MatCreateVecs(Mat mat,Vec *right,Vec *left)Collective on Mat
mat | - the matrix |
right | - (optional) vector that the matrix can be multiplied against | |
left | - (optional) vector that the matrix vector product can be stored in |