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
TaoTermx - the solution vector
params - the parameters vector (for some
TaoTermthis may beNULL, seeTaoTermGetParametersMode())H - (optional) output, the Hessian of
termHpre - (optional) output, the approximation of
Hfrom which a preconditioner may be built
See Also#
TaoTerm: composable objective function terms,
TaoTerm,
TAOTERMSHELL,
TaoTermShellSetHessian(),
TaoTermObjectiveFn,
TaoTermObjectiveAndGradientFn,
TaoTermGradientFn
Level#
intermediate
Location#
Index of all TaoTerm routines
Table of Contents for all manual pages
Index of all manual pages