TaoGetHessianMatrices#

Get the matrices that store the Hessian matrix and its (optional) approximation that is used to construct the preconditioner

Synopsis#

#include "petsctao.h" 
PetscErrorCode TaoGetHessianMatrices(Tao tao, Mat *H, Mat *Hpre)

Not collective

Input Parameter#

  • tao - the Tao context

Output Parameters#

  • H - the Hessian matrix

  • Hpre - approximation to the Hessian matrix used to construct the preconditioner (often H)

See Also#

TAO: Optimization Solvers, Tao, TaoType, TaoGetObjective(), TaoGetGradient(), TaoGetObjectiveAndGradient(), TaoSetHessian(), TaoGetHessian()

Level#

intermediate

Location#

src/tao/interface/taosolver_hj.c


Index of all Tao routines
Table of Contents for all manual pages
Index of all manual pages