# IPApplyMatrix

Multiplies a vector by the matrix representing the IP.

### Synopsis

    #include "slepcip.h"
    PetscErrorCode IPApplyMatrix(IP ip,Vec x,Vec y)

Neighbor-wise Collective on IP and Vec

### Input Parameters

| ip | - the inner product context
| x | - the vector

### Output Parameter

y - the result

### Note

If no matrix was specified this function copies the vector.

### See Also

IPSetMatrix(), IPInnerProduct(), IPNorm(), EPSSetProblemType()

Location: src/ip/ipform.c
Index of all IP routines
Table of Contents for all manual pages
Index of all manual pages