# NEPSetIP

Associates an inner product object to the nonlinear eigensolver.

### Synopsis

    #include "slepcnep.h"
    PetscErrorCode NEPSetIP(NEP nep,IP ip)

Collective on NEP

### Input Parameters

| nep | - eigensolver context obtained from NEPCreate()
| ip | - the inner product object

### Note

Use NEPGetIP() to retrieve the inner product context (for example, to free it at the end of the computations).

### See Also

NEPGetIP()

Location: src/nep/interface/nepbasic.c
Index of all NEP routines
Table of Contents for all manual pages
Index of all manual pages