petsc-3.7.1 2016-05-15
Report Typos and Errors

MatSolves

Solves A x = b, given a factored matrix, for a collection of vectors

Synopsis

#include "petscmat.h" 
PetscErrorCode MatSolves(Mat mat,Vecs b,Vecs x)
Neighbor-wise Collective on Mat and Vecs Many br

Input Parameters

mat - the factored matrix Many br
b - the right-hand-side vectors Many br

Output Parameter

x -the result vectors Many br

Notes

The vectors b and x cannot be the same. I.e., one cannot Many brcall MatSolves(A,x,x). Many br

Notes

Most users should employ the simplified KSP interface for linear solvers Many brinstead of working directly with matrix algebra routines such as this. Many brSee, e.g., KSPCreate(). Many br

Many br

See Also

MatSolveAdd(), MatSolveTranspose(), MatSolveTransposeAdd(), MatSolve()

Level:developer
Location:
src/mat/interface/matrix.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages