#include "slepcfn.h" PetscErrorCode FNEvaluateFunctionMat(FN fn,Mat A,Mat B)Logically Collective on fn
|fn||- the math function context|
|A||- matrix on which the function must be evaluated|
|B||- (optional) matrix resulting from evaluating f(A)|
If A is known to be real symmetric or complex Hermitian then it is recommended to set the appropriate flag with MatSetOption(), because symmetry can sometimes be exploited by the algorithm.
Scaling factors are taken into account, so the actual function evaluation will return beta*f(alpha*A).
Index of all FN routines
Table of Contents for all manual pages
Index of all manual pages