Codebase list cppad / upstream/2017.00.00.6 omh / speed / speed_fadbad.omh
upstream/2017.00.00.6

Tree @upstream/2017.00.00.6 (Download .tar.gz)

speed_fadbad.omh @upstream/2017.00.00.6raw · history · blame

$Id: speed_fadbad.omh 3757 2015-11-30 12:03:07Z bradbell $
/* --------------------------------------------------------------------------
CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-15 Bradley M. Bell

CppAD is distributed under multiple licenses. This distribution is under
the terms of the
                    GNU General Public License Version 3.

A copy of this license is included in the COPYING file of this distribution.
Please visit http://www.coin-or.org/CppAD/ for information on other licenses.
-------------------------------------------------------------------------- */

$begin speed_fadbad$$
$spell
	cmake
	FadbadDir
	CppAD
	Cygwin
$$


$section Speed Test Derivatives Using Fadbad$$

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

$head fadbad_prefix$$
To run these tests,
you must include the $cref fadbad_prefix$$
in you $cref/cmake command/cmake/CMake Command/$$.


$head Running Tests$$
To build these speed tests, and run their correctness tests,
execute the following commands starting in the
$cref/build directory/cmake/CMake Command/Build Directory/$$:
$codei%
	cd speed/fadbad
	make check_speed_fadbad VERBOSE=1
%$$
You can then run the corresponding speed tests
with the following command
$codei%
	./speed_fadbad speed %seed%
%$$
where $icode seed$$ is a positive integer.
See $cref speed_main$$ for more options.

$contents%
	speed/fadbad/det_minor.cpp%
	speed/fadbad/det_lu.cpp%
	speed/fadbad/mat_mul.cpp%
	speed/fadbad/ode.cpp%
	speed/fadbad/poly.cpp%
	speed/fadbad/sparse_hessian.cpp%
	speed/fadbad/sparse_jacobian.cpp
%$$

$end