CppAD: A C++ Algorithmic Differentiation Package  20130918
template<class Dvector, class ADvector, class FG_eval>
virtual bool CppAD::ipopt::solve_callback< Dvector, ADvector, FG_eval >::eval_g ( Index  n,
const Number x,
bool  new_x,
Index  m,
Number g 
) [inline, virtual]

Evaluate the function g(x).

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

Definition at line 632 of file solve_callback.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines