MatMultTransAdd

Computes v3 = v2 + A' * v1.

Synopsis

int MatMultTransAdd(Mat mat,Vec v1,Vec v2,Vec v3)
Collective on Mat and Vec

Input Parameters

mat - the matrix
v1, v2 - the vectors

Output Parameters

v3 -the result

Notes

The vectors v1 and v3 cannot be the same. I.e., one cannotcall MatMultTransAdd(A,v1,v2,v1).

Keywords

matrix, multiply, matrix-vector product, transpose, add

See Also

MatMultTrans(), MatMultAdd(), MatMult()

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