MatMult
Computes the matrix-vector product, y = Ax.
Synopsis
#include "mat.h"
int MatMult(Mat mat,Vec x,Vec y)
Collective on Mat and Vec
Input Parameters
| mat | - the matrix
|
| x | - the vector to be multilplied
|
Output Parameters
y -the result
Notes
The vectors x and y cannot be the same. I.e., one cannot
call MatMult(A,y,y).
Keywords
matrix, multiply, matrix-vector product
See Also
MatMultTranspose(), MatMultAdd(), MatMultTransposeAdd()
Level:beginner
Location:src/mat/interface/matrix.c
Matrix Index
Table of Contents