TaoComputeFunctionGradient

Computes the function value and its gradient

Synopsis

#include "tao_solver.h"  
int TaoComputeFunctionGradient(TAO_SOLVER solver,TaoVec* xx, double *f, TaoVec* gg)
Collective on TAO_SOLVER

Input Parameters

solver - the TAO_SOLVER solver context
xx - input vector

Output Parameter

f - function value
gg - gradient vector

Notes

TaoComputeFunctionGradient() is typically used within minimization implementations, so most users would not generally call this routine themselves.

Keywords

TAO_SOLVER, compute, gradient

See Also

TaoApplication::EvaluateObjectiveAndGradient(), TaoComputeFunction()

Level:developer
Location:src/interface/tao_fghj.c
TAO Solver Index
Table of Contents