slepc-3.6.3 2016-03-29
Report Typos and Errors

# PEPLinearSetCompanionForm

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

### Synopsis

    #include "slepcpep.h"
    PetscErrorCode PEPLinearSetCompanionForm(PEP pep,PetscInt cform)

Logically Collective on PEP

### Input Parameters

| pep | - polynomial eigenvalue solver
| cform | - 1 or 2 (first or second companion form)

### Options Database Key

-pep_linear_cform <int> - Choose the companion form

### See Also

PEPLinearGetCompanionForm()

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