#include "taolinesearch.h" PetscErrorCode TaoLineSearchComputeGradient(TaoLineSearch ls, Vec x, Vec g)Collective on TaoLineSearch
ls | - the TaoLineSearch context | |
x | - input vector |
Notes: TaoComputeGradient() is typically used within line searches so most users would not generally call this routine themselves.
Level:developer
Location:src/linesearch/interface/linesearch.c
TAO Solver Index
Table of Contents