# EvaluateObjectiveAndGradient

Evaluate the objective function and its gradient at the point x.

## Synopsis

    #include "tao_solver.h"
    int TaoApplication::EvaluateObjectiveAndGradient(TaoVec *xx, double *ff, TaoVec *gg)

Collective on TAO_SOLVER

## Input Parameters

xx -the point at which to evaluate the gradient

## Output Parameters

| ff | - the objective value
| gg | - the gradient vector

## See Also

TaoSetPetscFunctionGradient(), EvaluateGradient(), EvaluateObjectiveFunction()

## Keywords

application, gradient

Level:intermediate
Location:src/appobject/interface/taoappobject.c
TAO Solver Index
Table of Contents