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

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

Go to the source code of this file.

Classes

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

Namespaces

namespace  anonymous_namespace{link_sparse_hessian.cpp}

Functions

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.
bool link_sparse_hessian (size_t size, size_t repeat, const CppAD::vector< size_t > &row, const CppAD::vector< size_t > &col, CppAD::vector< double > &x, CppAD::vector< double > &hessian)
 Package specific implementation of a sparse Hessian claculation.
bool available_sparse_hessian (void)
 Is sparse Hessian test avaialable.
bool correct_sparse_hessian (bool is_package_double)
 Does final sparse Hessian value pass correctness test.
void speed_sparse_hessian (size_t size, size_t repeat)
 Sparse Hessian speed test.

Detailed Description

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

Definition in file link_sparse_hessian.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines