#include "petsctaolinesearch.h" PetscErrorCode TaoLineSearchSetObjectiveAndGradientRoutine(TaoLineSearch ls, PetscErrorCode(*func)(TaoLineSearch ls, Vec x, PetscReal *, Vec g, void*), void *ctx)Logically Collective on TaoLineSearch Many br
ls | - the TaoLineSearch context Many br | |
func | - the objective and gradient evaluation routine Many br | |
ctx | - the (optional) user-defined context for private data Many br |
func (TaoLinesearch ls, Vec x, PetscReal *f, Vec g, void *ctx);
x | - input vector Many br | |
f | - function value Many br | |
g | - gradient vector Many br | |
ctx (optional) user | - defined context Many br |
Many br
Level:beginner
Location:src/tao/linesearch/interface/taolinesearch.c
Index of all TaoLineSearch routines
Table of Contents for all manual pages
Index of all manual pages