tao-2.1-p0 2012-07-24

TaoComputeGradient

Computes the gradient of the objective function

Synopsis

#include "taosolver.h" 
PetscErrorCode TaoComputeGradient(TaoSolver tao, Vec X, Vec G) 
Collective on TaoSolver

Input Parameters

tao - the TaoSolver context
X - input vector

Output Parameter

G -gradient vector

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

See Also

TaoComputeObjective(), TaoComputeObjectiveAndGradient(), TaoSetGradientRoutine()

Level:advanced
Location:src/interface/taosolver_fg.c
TAO Solver Index
Table of Contents