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)
Logically Collective on FN

Input Parameters

fn - the math function context
x - the value where the function must be evaluated

Output Parameter

y - the result of f(x)

See Also

FNEvaluateDerivative()

Location: src/fn/fnbasic.c
Index of all FN routines
Table of Contents for all manual pages
Index of all manual pages