CppAD: A C++ Algorithmic Differentiation Package  20130102
bool cppad_ipopt::cppad_ipopt_nlp::eval_jac_g ( Index  n,
const Number x,
bool  new_x,
Index  m,
Index  nele_jac,
Index iRow,
Index jCol,
Number values 
) [virtual]

Evaluate the Jacobian of g(x).

Parameters:
[in]nis the dimension of the argument space for g(x); i.e., must be equal n_.
xif values is not NULL, x is 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 m_.
[in]nele_jacis the number of possibly non-zero elements in the Jacobian of g(x); i.e., must be equal to nnz_jac_g_.
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 706 of file cppad_ipopt_nlp.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines