The FN package provides the functionality to represent a simple mathematical function such as an exponential, a polynomial or a rational function. This is used as a building block for defining the function associated to the nonlinear eigenproblem, as well as for specifying which function to use when computing the action of a matrix function on a vector.
test1.c: Test rational function
test2.c: Test exponential function
test3.c: Test matrix exponential
test4.c: Test setting FN parameters from the command line
test5.c: Test matrix rational function
test6.c: Test combined function
test7.c: Test matrix square root
test8.c: Test matrix inverse square root
test9.c: Test logarithm function
test10.c: Test Phi functions
test11.c: Another test of a combined function
test12.c: Test matrix function evaluation via diagonalization
test13.c: Test matrix logarithm
makefile