FNSetType#
Selects the type for the FN object.
Synopsis#
#include "slepcfn.h"
PetscErrorCode FNSetType(FN fn,FNType type)
Logically Collective
Input Parameters#
fn - the math function context
type - a known type
Options Database Key#
-fn_type type - sets the
FNtype
Note#
The default is FNRATIONAL, which includes polynomials as a particular
case as well as simple functions such as \(f(x)=x\) and \(f(x)=constant\).
See Also#
Level#
intermediate
Location#
Examples#
src/sys/classes/ds/tests/test12.c
src/sys/classes/ds/tests/test23.c
src/sys/classes/ds/tests/test25.c
src/sys/classes/fn/tests/test1.c
src/sys/classes/fn/tests/test10.c
src/sys/classes/fn/tests/test11.c
src/sys/classes/fn/tests/test12.c
src/sys/classes/fn/tests/test13.c
src/sys/classes/fn/tests/test1f.F90
src/sys/classes/fn/tests/test2.c
Index of all FN routines Table of Contents for all manual pages Index of all manual pages