TaoTermHessianFn#

A prototype of a TaoTerm function that would be passed to TaoTermShellSetHessian()

Synopsis#

PETSC_EXTERN_TYPEDEF typedef PetscErrorCode(TaoTermHessianFn)(TaoTerm term, Vec x, Vec params, Mat H, Mat Hpre);

Calling Sequence#

  • term - a TaoTerm

  • x - the solution vector

  • params - the parameters vector (for some TaoTerm this may be NULL, see TaoTermGetParametersMode())

  • H - (optional) output, the Hessian of term

  • Hpre - (optional) output, the approximation of H from which a preconditioner may be built

See Also#

TaoTerm: composable objective function terms, TaoTerm, TAOTERMSHELL, TaoTermShellSetHessian(), TaoTermObjectiveFn, TaoTermObjectiveAndGradientFn, TaoTermGradientFn

Level#

intermediate

Location#

include/petsctaoterm.h


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