petsc-3.7.3 2016-07-24
Report Typos and Errors

# TaoComputeJacobian

Computes the Jacobian matrix that has been set with TaoSetJacobianRoutine().

### Synopsis

    #include "petsctao.h"
    PetscErrorCode TaoComputeJacobian(Tao tao, Vec X, Mat J, Mat Jpre)

Collective on Tao

### Input Parameters

| solver | - the Tao solver context
| xx | - input vector

### Output Parameters

| H | - Jacobian matrix
| Hpre | - Preconditioning matrix

### Notes

Most users should not need to explicitly call this routine, as it is used internally within the minimization solvers.

TaoComputeJacobian() is typically used within minimization implementations, so most users would not generally call this routine themselves.

### See Also

TaoComputeObjective(), TaoComputeObjectiveAndGradient(), TaoSetJacobian()

Level:developer
Location: src/tao/interface/taosolver_hj.c
Index of all Tao routines
Table of Contents for all manual pages
Index of all manual pages