slepc-3.22.2 2024-12-02
FNEvaluateFunction
Computes the value of the function f(x) for a given x.
Synopsis
#include "slepcfn.h"
PetscErrorCode FNEvaluateFunction(FN fn,PetscScalar x,PetscScalar *y)
Not Collective
Input Parameters
| fn | - the math function context
|
| x | - the value where the function must be evaluated
|
Output Parameter
Note
Scaling factors are taken into account, so the actual function evaluation
will return beta*f(alpha*x).
See Also
FNEvaluateDerivative(), FNEvaluateFunctionMat(), FNSetScale()
Level
intermediate
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