|
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).
| [in] | n | is the dimension of the argument space for g(x); i.e., must be equal n_. |
| x | if 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_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_. |
| [in] | nele_jac | is the number of possibly non-zero elements in the Jacobian of g(x); i.e., must be equal to nnz_jac_g_. |
| iRow | if 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). | |
| jCol | if 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). | |
| values | if 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). |
Definition at line 706 of file cppad_ipopt_nlp.cpp.