CppAD: A C++ Algorithmic Differentiation Package
20130918
|
void anonymous_namespace{link_sparse_hessian.cpp}::choose_row_col | ( | size_t | n, |
vector< size_t > & | row, | ||
vector< size_t > & | col | ||
) |
Function that randomly choose the row and column indices.
n | [in] is the dimension of the argument space for the function f(x). |
row | [out] the input size and elements of row do not matter. Upon return it is the chosen row indices. |
col | [out] the input size and elements of col do not matter. Upon return it is the chosen column indices. |
Definition at line 203 of file link_sparse_hessian.cpp.
Referenced by available_sparse_hessian(), available_sparse_jacobian(), correct_sparse_hessian(), correct_sparse_jacobian(), info_sparse_jacobian(), speed_sparse_hessian(), and speed_sparse_jacobian().