CppAD: A C++ Algorithmic Differentiation Package
20130918
|
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 | ||
) | [inline, virtual] |
Evaluate the Jacobian of g(x).
[in] | n | is the dimension of the argument space for g(x); i.e., must be equal nx_. |
x | If 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_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_. |
[in] | nele_jac | is the number of possibly non-zero elements in the Jacobian of g(x); i.e., must be equal to ng_ * nx_. |
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 703 of file solve_callback.hpp.