CppAD: A C++ Algorithmic Differentiation Package 20110419
bool cppad_ipopt_nlp::eval_grad_f ( Index  n,
const Number x,
bool  new_x,
Number grad_f 
) [virtual]

Evaluate the gradient of f(x).

Parameters:
[in]nis the dimension of the argument space for f(x); i.e., must be equal n_.
[in]xhas a vector of size n containing the point at which to evaluate the gradient of f(x).
[in]new_xis true if the previous call to any one of the Evaluation Methods used the same value for x.
[out]grad_fis a vector of size n. The input value of its elements does not matter. The output value of its elements is the gradient of f(x) at this value of.
Returns:
The return value is always true; see Evaluation Methods.

Definition at line 478 of file cppad_ipopt_nlp.cpp.