slepc-3.15.2 2021-09-20
Report Typos and Errors

# MFNSetOperator

Sets the matrix for which the matrix function is to be computed.

### Synopsis

    #include "slepcmfn.h"
    PetscErrorCode MFNSetOperator(MFN mfn,Mat A)

Collective on mfn

### Input Parameters

| mfn | - the matrix function context
| A | - the problem matrix

### Notes

It must be called before MFNSetUp(). If it is called again after MFNSetUp() then the MFN object is reset.

### See Also

MFNSolve(), MFNSetUp(), MFNReset()

Location: src/mfn/interface/mfnsetup.c

### Examples

src/eps/tutorials/ex36.c.html
src/mfn/tutorials/ex23.c.html
src/mfn/tutorials/ex26.c.html
src/mfn/tutorials/ex37.c.html
src/mfn/tutorials/ex39.c.html
src/mfn/tutorials/ex23f90.F90.html
Index of all MFN routines
Table of Contents for all manual pages
Index of all manual pages