# TaoComputeHessian

Computes the Hessian matrix that has been set with TaoSetHessian().

## Synopsis

    #include "tao_solver.h"
    int TaoComputeHessian(TAO_SOLVER solver,TaoVec *xx,TaoMat *HH)

Collective on TAO_SOLVER and Mat

## Input Parameters

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

## Output Parameters

HH -Hessian matrix

## Notes

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

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

## Keywords

TAO_SOLVER, compute, Hessian, matrix

## See Also

TaoApplication::EvaluateHessian(), TaoComputeFunctionGradient(),
TaoComputeFunction()

Level:developer
Location:src/interface/tao_fghj.c
TAO Solver Index
Table of Contents