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 Functions in Double

CppAD has a set of speed tests for just calculating functions (in double precision instead of an AD type). This section links to the source code the function value speed tests.

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

Double Speed: Determinant by Minor Expansion
Double Speed: Determinant Using Lu Factorization
CppAD Speed: Matrix Multiplication (Double Version)
Double Speed: Ode Solution
Double Speed: Evaluate a Polynomial
Double Speed: Sparse Hessian
Double Speed: Sparse Jacobian

Input File: omh/speed/speed_double.omh