#include "petsctao.h" PetscErrorCode TaoComputeObjectiveAndGradient(Tao tao, Vec X, PetscReal *f, Vec G)Collective on Tao Many br
| tao | - the Tao context Many br | |
| X | - input vector Many br |
| f | - Objective value at X Many br | |
| g | - Gradient vector at X Many br |
Notes: TaoComputeObjectiveAndGradient() is typically used within minimization implementations, Many brso most users would not generally call this routine themselves. Many br
Many br
Level:advanced
Location:src/tao/interface/taosolver_fg.c
Index of all Tao routines
Table of Contents for all manual pages
Index of all manual pages