#include "slepcnep.h" PetscErrorCode NEPSetFunction(NEP nep,Mat A,Mat B,PetscErrorCode (*fun)(NEP,PetscScalar,Mat,Mat,void*),void *ctx)Logically Collective on NEP and Mat
| nep | - the NEP context | |
| A | - Function matrix | |
| B | - preconditioner matrix (usually same as the Function) | |
| fun | - Function evaluation routine (if NULL then NEP retains any previously set value) | |
| 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) |
fun(NEP nep,PetscScalar lambda,Mat F,Mat P,void *ctx)
| nep | - the NEP context | |
| lambda | - the scalar argument where T(.) must be evaluated | |
| T | - matrix that will contain T(lambda) | |
| P | - (optional) different matrix to build the preconditioner | |
| ctx | - (optional) user-defined context, as set by NEPSetFunction() |
Location: src/nep/interface/nepbasic.c
Index of all NEP routines
Table of Contents for all manual pages
Index of all manual pages