slepc-main 2024-11-15
FNEvaluateFunctionMatVec
Computes the first column of the matrix f(A) for a given matrix A.
Synopsis
#include "slepcfn.h"
PetscErrorCode FNEvaluateFunctionMatVec(FN fn,Mat A,Vec v)
Logically Collective
Input Parameters
| fn | - the math function context
|
| A | - matrix on which the function must be evaluated
|
Output Parameter
| v | - vector to hold the first column of f(A)
|
Notes
This operation is similar to FNEvaluateFunctionMat() but returns only
the first column of f(A), hence saving computations in most cases.
See Also
FNEvaluateFunction(), FNEvaluateFunctionMat(), FNSetMethod()
Level
advanced
Location
src/sys/classes/fn/interface/fnbasic.c
Index of all FN routines
Table of Contents for all manual pages
Index of all manual pages