#include "slepcnep.h" PetscErrorCode NEPSetFunction(NEP nep,Mat A,Mat B,NEPFunctionFn *fun,void *ctx)Collective
nep | - the NEP context | |
A | - Function matrix | |
B | - preconditioner matrix (usually same as A) | |
fun | - Function evaluation routine (if NULL then NEP retains any previously set value), see NEPFunctionFn for the calling sequence | |
ctx | - [optional] user-defined context for private data for the Function evaluation routine (may be NULL) (if NULL then NEP retains any previously set value) |