slepc-3.7.2 2016-07-19
Report Typos and Errors

Matrix Function - MFN: Examples

Matrix Function (MFN) is the object provided by SLEPc for computing the action of a matrix function on a vector. Given a matrix A and a vector b, the call MFNSolve(mfn,b,x) computes x=f(A)b, where f is a function such as the exponential.

test1.c: Computes exp(A)*v for a matrix loaded from file
makefile