slepc-3.12.2 2020-01-13
Report Typos and Errors

# NEPApplyJacobian

Applies the nonlinear Jacobian T'(lambda) to a given vector.

### Synopsis

    #include "slepcnep.h"
    #include "slepcbv.h"
    PetscErrorCode NEPApplyJacobian(NEP nep,PetscScalar lambda,Vec x,Vec v,Vec y,Mat A)

Collective on nep

### Input Parameters

| nep | - the nonlinear eigensolver context
| lambda | - scalar argument
| x | - vector to be multiplied against
| v | - workspace vector (used only in the case of split form)

### Output Parameters

| y | - result vector
| A | - Jacobian matrix

### Note

If the nonlinear operator is represented in split form, the result y = T'(lambda)*x is computed without building T'(lambda) explicitly. In that case, parameter A is not used. Otherwise, the matrix T'(lambda) is built and the effect is the same as a call to NEPComputeJacobian() followed by a MatMult().

### See Also

NEPSetSplitOperator(), NEPComputeJacobian()

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