|
CppAD: A C++ Algorithmic Differentiation Package
20130918
|
| 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).
| [in] | n | is the dimension of the argument space for g(x); i.e., must be equal nx_. |
| [in] | x | has a vector of size n containing the point at which to evaluate the gradient of 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 ng_. |
| [out] | g | is 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. |
Definition at line 632 of file solve_callback.hpp.