#include "taosolver.h" PetscErrorCode TaoComputeHessian(TaoSolver tao, Vec X, Mat *H, Mat *Hpre, MatStructure *flg)Collective on TaoSolver
| solver | - the TaoSolver solver context | |
| xx | - input vector |
| H | - Hessian matrix | |
| Hpre | - Preconditioning matrix | |
| flag | - flag indicating matrix structure (SAME_NONZERO_PATTERN, DIFFERENT_NONZERO_PATTERN, or SAME_PRECONDITIONER) |
TaoComputeHessian() is typically used within minimization implementations, so most users would not generally call this routine themselves.
Level:developer
Location:src/interface/taosolver_hj.c
TAO Solver Index
Table of Contents