MatSolveAdd

Computes x = y + inv(A)*b, given a factored matrix.

Synopsis

int MatSolveAdd(Mat mat,Vec b,Vec y,Vec x)
Collective on Mat and Vec

Input Parameters

mat - the factored matrix
b - the right-hand-side vector
y - the vector to be added to

Output Parameter

x -the result vector

Notes

The vectors b and x cannot be the same. I.e., one cannotcall MatSolveAdd(A,x,y,x).

Keywords

matrix, linear system, solve, LU, Cholesky, add

See Also

MatSolve(), MatSolveTrans(), MatSolveTransAdd()

Location: src/mat/interface/matrix.c
Matrix Index
Table of Contents