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.
Examples
test1.c: Computes exp(t*A)*v for a matrix loaded from file.
test2.c: Tests the case when both arguments of MFNSolve() are the same Vec.
test3.c: Test MFN interface functions.
test3f.F90: square root of the 2-D Laplacian.
test4.c: Illustrates use of MFNSetBV().
test5.c: Test changing MFN type.