CppAD: A C++ Algorithmic Differentiation Package
20130102
|
bool cppad_ipopt::cppad_ipopt_nlp::eval_g | ( | Index | n, |
const Number * | x, | ||
bool | new_x, | ||
Index | m, | ||
Number * | g | ||
) | [virtual] |
Evaluate the function g(x).
[in] | n | is the dimension of the argument space for g(x); i.e., must be equal n_ . |
[in] | x | has a vector of size n containing the point at which to evaluate the constraint function g(x). |
[in] | new_x | is false if the previous call to any one of the Evaluation Methods used the same value for x . |
[in] | m | is the dimension of the range space for g(x); i.e., must be equal to m_ . |
[out] | g | is 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 . |
Definition at line 590 of file cppad_ipopt_nlp.cpp.