TaoTermShellSetGradient#
Set the gradient function of a TAOTERMSHELL
Synopsis#
#include "petsctao.h"
PetscErrorCode TaoTermShellSetGradient(TaoTerm term, TaoTermGradientFn *gradient)
Logically collective
Input Parameters#
term - a
TaoTermof typeTAOTERMSHELLgradient - a
TaoTermGradientFnfunction pointer
See Also#
TaoTerm: composable objective function terms, TaoTerm, TAOTERMSHELL, TaoTermShellGetContext(), TaoTermShellSetContextDestroy(),
TaoTermShellSetObjective(),
TaoTermShellSetObjectiveAndGradient(),
TaoTermShellSetHessian(),
TaoTermShellSetView(),
TaoTermGradientFn
Level#
intermediate
Location#
Implementations#
TaoTermShellSetGradient_Shell() in src/tao/term/impls/shell/taotermshell.c
Index of all TaoTerm routines
Table of Contents for all manual pages
Index of all manual pages