# DSSetFunctionMethod

Selects the method to be used to compute a matrix function.

### Synopsis

    #include "slepcds.h"
    PetscErrorCode DSSetFunctionMethod(DS ds,PetscInt meth)

Logically Collective on DS

### Input Parameter

| ds | - the direct solver context
| meth | - an index indentifying the function method

### See Also

DSGetFunctionMethod()

Location: src/ds/interface/dsbasic.c
Index of all DS routines
Table of Contents for all manual pages
Index of all manual pages