# QEPSetWorkVecs

Sets a number of work vectors into a QEP object

### Synopsis

    #include "slepcqep.h"
    PetscErrorCode QEPSetWorkVecs(QEP qep,PetscInt nw)

Collective on QEP

### Input Parameters

| qep | - quadratic eigensolver context
| nw | - number of work vectors to allocate

### Developers Note

This is PETSC_EXTERN because it may be required by user plugin QEP implementations.

Location: src/qep/interface/qepdefault.c
Index of all QEP routines
Table of Contents for all manual pages
Index of all manual pages