# QEPLinearSetCompanionForm

Choose between the two companion forms available for the linearization of the quadratic problem.

### Synopsis

    #include "slepcqep.h"
    #include "slepceps.h"
    PetscErrorCode QEPLinearSetCompanionForm(QEP qep,PetscInt cform)

Logically Collective on QEP

### Input Parameters

| qep | - quadratic eigenvalue solver
| cform | - 1 or 2 (first or second companion form)

### Options Database Key

-qep_linear_cform <int> - Choose the companion form

### See Also

QEPLinearGetCompanionForm()

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