slepc-3.18.2 2023-01-26
Report Typos and Errors

# DSSetType

Selects the type for the DS object.

### Synopsis

    #include "slepcds.h"
    PetscErrorCode DSSetType(DS ds,DSType type)

Logically Collective on ds

### Input Parameters

| ds | - the direct solver context
| type | - a known type

### See Also

DSGetType()

### Level

intermediate

### Location

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