CppAD: A C++ Algorithmic Differentiation Package  20130918
link_sparse_jacobian.cpp File Reference

Defines and implement sparse Jacobian speed link to package specific code. More...

Go to the source code of this file.

Classes

class  anonymous_namespace{link_sparse_jacobian.cpp}::Key
 Class used by choose_row_col to determine order of row and column indices. More...

Namespaces

namespace  anonymous_namespace{link_sparse_jacobian.cpp}

Functions

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.
bool link_sparse_jacobian (size_t size, size_t repeat, size_t m, const CppAD::vector< size_t > &row, const CppAD::vector< size_t > &col, CppAD::vector< double > &x, CppAD::vector< double > &jacobian, size_t &n_sweep)
 Package specific implementation of a sparse Jacobian claculation.
bool available_sparse_jacobian (void)
 Is sparse Jacobian test avaialable.
bool correct_sparse_jacobian (bool is_package_double)
 Does final sparse Jacobian value pass correctness test.
void speed_sparse_jacobian (size_t size, size_t repeat)
 Sparse Jacobian speed test.
void info_sparse_jacobian (size_t size, size_t &n_sweep)
 Sparse Jacobian speed test information.

Detailed Description

Defines and implement sparse Jacobian speed link to package specific code.

Definition in file link_sparse_jacobian.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines