CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
template<class Dvector, class ADvector, class FG_eval>
virtual bool CppAD::ipopt::solve_callback< Dvector, ADvector, FG_eval >::eval_jac_g ( Index  n,
const Number x,
bool  new_x,
Index  m,
Index  nele_jac,
Index iRow,
Index jCol,
Number values 
)
inlinevirtual

Evaluate the Jacobian of g(x).

Parameters
[in]nis the dimension of the argument space for g(x); i.e., must be equal nx_.
xIf values is not NULL, x is a vector of size nx_ 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_.
[in]nele_jacis the number of possibly non-zero elements in the Jacobian of g(x); i.e., must be equal to ng_ * nx_.
iRowif values is not NULL, iRow is not defined. if values is NULL, iRow is a vector with size nele_jac. The input value of its elements does not matter. On output, For k = 0 , ... , nele_jac-1, iRow[k] is the base zero row index for the k-th possibly non-zero entry in the Jacobian of g(x).
jColif values is not NULL, jCol is not defined. if values is NULL, jCol is a vector with size nele_jac. The input value of its elements does not matter. On output, For k = 0 , ... , nele_jac-1, jCol[k] is the base zero column index for the k-th possibly non-zero entry in the Jacobian of g(x).
valuesif values is not NULL, values is a vector with size nele_jac. The input value of its elements does not matter. On output, For k = 0 , ... , nele_jac-1, values[k] is the value for the k-th possibly non-zero entry in the Jacobian of g(x).
Returns
The return value is always true; see Evaluation Methods.

Definition at line 781 of file solve_callback.hpp.