PetscErrorCode QPSGetVecs(QPS qps,PetscInt rightn, Vec **right,PetscInt leftn,Vec **left)
qps | - iterative context | |
rightn | - number of right work vectors | |
leftn | - number of left work vectors to allocate |
right | - the array of vectors created | |
left | - the array of left vectors |
Note: The right vector has as many elements as the matrix has columns. The left vector has as many elements as the matrix has rows.