slepc-3.7.3 2016-09-29
Report Typos and Errors

# MFNSetFN

Specifies the function to be computed.

### Synopsis

    #include "slepcmfn.h"
    PetscErrorCode MFNSetFN(MFN mfn,FN fn)

Collective on MFN

### Input Parameters

| mfn | - matrix function context obtained from MFNCreate()
| fn | - the math function object

### Note

Use MFNGetFN() to retrieve the math function context (for example, to free it at the end of the computations).

### See Also

MFNGetFN()

Location: src/mfn/interface/mfnbasic.c
Index of all MFN routines
Table of Contents for all manual pages
Index of all manual pages