Prev Next

@(@\newcommand{\W}[1]{ \; #1 \; } \newcommand{\R}[1]{ {\rm #1} } \newcommand{\B}[1]{ {\bf #1} } \newcommand{\D}[2]{ \frac{\partial #1}{\partial #2} } \newcommand{\DD}[3]{ \frac{\partial^2 #1}{\partial #2 \partial #3} } \newcommand{\Dpow}[2]{ \frac{\partial^{#1}}{\partial {#2}^{#1}} } \newcommand{\dpow}[2]{ \frac{ {\rm d}^{#1}}{{\rm d}\, {#2}^{#1}} }@)@
Speed Test of Derivatives Using Adolc

CppAD has a set of speed tests that are used to compare Adolc with other AD packages. This section links to the source code the Adolc speed tests (any suggestions to make the Adolc results faster are welcome).

To run these tests, you must include the adolc_prefix in you cmake command .

Running Tests
To build these speed tests, and run their correctness tests, execute the following commands starting in the build directory :
     cd speed/adolc
     make check_speed_adolc VERBOSE=1
You can then run the corresponding speed tests with the following command
     ./speed_adolc speed 
where seed is a positive integer. See speed_main for more options.

Adolc Speed: Gradient of Determinant by Minor Expansion
Adolc Speed: Gradient of Determinant Using Lu Factorization
Adolc Speed: Matrix Multiplication
Adolc Speed: Ode
Adolc Speed: Second Derivative of a Polynomial
Adolc Speed: Sparse Hessian
adolc Speed: Sparse Jacobian
Adolc Test Utility: Allocate and Free Memory For a Matrix

Input File: omh/speed/speed_adolc.omh