CppAD: A C++ Algorithmic Differentiation Package
20130918
|
void anonymous_namespace{link_sparse_jacobian.cpp}::choose_row_col | ( | size_t | n, |
size_t | m, | ||
vector< size_t > & | row, | ||
vector< size_t > & | col | ||
) |
Function that randomly choose the row and column indices.
n | [in] is the dimension of the domain space for the function f(x). |
m | [in] is the dimension of the range 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 200 of file link_sparse_jacobian.cpp.