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

Evaluate the function g(x).

Parameters:
[in]nis the dimension of the argument space for g(x); i.e., must be equal n_.
[in]xhas a vector of size n containing the point at which to evaluate the gradient of g(x).
[in]new_xis true 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 m_.
[out]gis a vector of size m. 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 570 of file cppad_ipopt_nlp.cpp.