Codebase list cppad / 309dc44
Imported Upstream version 2015.00.00.6 Barak A. Pearlmutter 8 years ago
18 changed file(s) with 122 addition(s) and 73 deletion(s). Raw diff Collapse all Expand all
0 # $Id: CMakeLists.txt 3634 2015-02-09 14:09:03Z bradbell $
0 # $Id: CMakeLists.txt 3639 2015-02-11 02:01:35Z bradbell $
11 # -----------------------------------------------------------------------------
22 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-14 Bradley M. Bell
33 #
1515 CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
1616
1717 # cppad_version is used by set_version.sh to get the version number.
18 SET(cppad_version "20150000.5" )
18 SET(cppad_version "20150000.6" )
1919 SET(cppad_url "http://www.coin-or.org/CppAD" )
2020 SET(cppad_description "Differentiation of C++ Algorithms" )
2121
00 #! /bin/bash -e
1 # $Id: new_release.sh 3634 2015-02-09 14:09:03Z bradbell $
1 # $Id: new_release.sh 3639 2015-02-11 02:01:35Z bradbell $
22 # -----------------------------------------------------------------------------
33 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-13 Bradley M. Bell
44 #
2222 # -----------------------------------------------------------------------------
2323 svn_repository="https://projects.coin-or.org/svn/CppAD"
2424 stable_version="20150000"
25 release='5'
25 release='6'
2626 release_version="$stable_version.$release"
2727 # -----------------------------------------------------------------------------
2828 # Check release version
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.69 for cppad 20150000.5.
2 # Generated by GNU Autoconf 2.69 for cppad 20150000.6.
33 #
44 # Report bugs to <cppad@list.coin-or.org>.
55 #
579579 # Identity of this package.
580580 PACKAGE_NAME='cppad'
581581 PACKAGE_TARNAME='cppad'
582 PACKAGE_VERSION='20150000.5'
583 PACKAGE_STRING='cppad 20150000.5'
582 PACKAGE_VERSION='20150000.6'
583 PACKAGE_STRING='cppad 20150000.6'
584584 PACKAGE_BUGREPORT='cppad@list.coin-or.org'
585585 PACKAGE_URL=''
586586
14001400 # Omit some internal or obsolete options to make the list less imposing.
14011401 # This message is too long to be a string in the A/UX 3.1 sh.
14021402 cat <<_ACEOF
1403 \`configure' configures cppad 20150000.5 to adapt to many kinds of systems.
1403 \`configure' configures cppad 20150000.6 to adapt to many kinds of systems.
14041404
14051405 Usage: $0 [OPTION]... [VAR=VALUE]...
14061406
14701470
14711471 if test -n "$ac_init_help"; then
14721472 case $ac_init_help in
1473 short | recursive ) echo "Configuration of cppad 20150000.5:";;
1473 short | recursive ) echo "Configuration of cppad 20150000.6:";;
14741474 esac
14751475 cat <<\_ACEOF
14761476
16031603 test -n "$ac_init_help" && exit $ac_status
16041604 if $ac_init_version; then
16051605 cat <<\_ACEOF
1606 cppad configure 20150000.5
1606 cppad configure 20150000.6
16071607 generated by GNU Autoconf 2.69
16081608
16091609 Copyright (C) 2012 Free Software Foundation, Inc.
22322232 This file contains any messages produced by compilers while
22332233 running configure, to aid debugging if configure makes a mistake.
22342234
2235 It was created by cppad $as_me 20150000.5, which was
2235 It was created by cppad $as_me 20150000.6, which was
22362236 generated by GNU Autoconf 2.69. Invocation command line was
22372237
22382238 $ $0 $@
52405240
52415241 # Define the identity of the package.
52425242 PACKAGE='cppad'
5243 VERSION='20150000.5'
5243 VERSION='20150000.6'
52445244
52455245
52465246 cat >>confdefs.h <<_ACEOF
84128412 # report actual input values of CONFIG_FILES etc. instead of their
84138413 # values after options handling.
84148414 ac_log="
8415 This file was extended by cppad $as_me 20150000.5, which was
8415 This file was extended by cppad $as_me 20150000.6, which was
84168416 generated by GNU Autoconf 2.69. Invocation command line was
84178417
84188418 CONFIG_FILES = $CONFIG_FILES
84698469 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
84708470 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
84718471 ac_cs_version="\\
8472 cppad config.status 20150000.5
8472 cppad config.status 20150000.6
84738473 configured by $0, generated by GNU Autoconf 2.69,
84748474 with options \\"\$ac_cs_config\\"
84758475
0 dnl $Id: configure.ac 3634 2015-02-09 14:09:03Z bradbell $
0 dnl $Id: configure.ac 3639 2015-02-11 02:01:35Z bradbell $
11 dnl ---------------------------------------------------------------------------
22 dnl CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-14 Bradley M. Bell
33 dnl
1111 dnl
1212 dnl Process this file with autoconf to produce a configure script.
1313 dnl package version bug-report
14 AC_INIT([cppad], [20150000.5], [cppad@list.coin-or.org])
14 AC_INIT([cppad], [20150000.6], [cppad@list.coin-or.org])
1515 AM_SILENT_RULES([yes])
1616
1717 dnl By defalut disable maintainer mode when running configure;
0 /* $Id: for_jac_sweep.hpp 3495 2014-12-24 01:16:15Z bradbell $ */
0 /* $Id: for_jac_sweep.hpp 3639 2015-02-11 02:01:35Z bradbell $ */
11 # ifndef CPPAD_FOR_JAC_SWEEP_INCLUDED
22 # define CPPAD_FOR_JAC_SWEEP_INCLUDED
33 /* --------------------------------------------------------------------------
335335 // -------------------------------------------------
336336
337337 case ErfOp:
338 CPPAD_ASSERT_NARG_NRES(op, 1, 1);
338 CPPAD_ASSERT_NARG_NRES(op, 3, 5);
339339 forward_sparse_jacobian_unary_op(
340340 i_var, arg[0], var_sparsity
341341 );
0 /* $Id: hash_code.hpp 3359 2014-09-26 00:12:56Z bradbell $ */
0 /* $Id: hash_code.hpp 3639 2015-02-11 02:01:35Z bradbell $ */
11 # ifndef CPPAD_HASH_CODE_INCLUDED
22 # define CPPAD_HASH_CODE_INCLUDED
33
216216 case AtanOp:
217217 case CosOp:
218218 case CoshOp:
219 case ErfOp:
219220 case ExpOp:
220221 case LogOp:
221222 case SignOp:
0 /* $Id: optimize.hpp 3624 2015-01-29 11:45:00Z bradbell $ */
0 /* $Id: optimize.hpp 3639 2015-02-11 02:01:35Z bradbell $ */
11 # ifndef CPPAD_OPTIMIZE_INCLUDED
22 # define CPPAD_OPTIMIZE_INCLUDED
33
14141414 case CosOp:
14151415 case CoshOp:
14161416 case DivvpOp:
1417 case ErfOp:
14171418 case ExpOp:
14181419 case LogOp:
14191420 case PowvpOp:
21732174 CPPAD_ASSERT_UNKNOWN( size_t(new_arg[0]) < i );
21742175 }
21752176 break;
2177
2178 case ErfOp:
2179 // 20150000 version does not optimzie this out
2180 // next years version does.
2181 { CPPAD_ASSERT_UNKNOWN( NumArg(ErfOp) == 3 );
2182 // second argument is always parameter 0
2183 // third argument is always parameter 2 / sqrt(pi)
2184 tape[i_var].new_op = rec->num_op_rec();
2185 tape[i_var].new_var = rec->PutOp(op);
2186 rec->PutArg( tape[ arg[0] ].new_var );
2187 rec->PutArg( rec->PutPar( Base(0) ) );
2188 rec->PutArg( rec->PutPar(
2189 Base( 1.0 / std::sqrt( std::atan(1.0) ) )
2190 ) );
2191 }
2192 break;
2193
21762194 // ---------------------------------------------------
21772195 // Binary operators where
21782196 // left is a variable and right is a parameter
0 /* $Id: rev_hes_sweep.hpp 3495 2014-12-24 01:16:15Z bradbell $ */
0 /* $Id: rev_hes_sweep.hpp 3639 2015-02-11 02:01:35Z bradbell $ */
11 # ifndef CPPAD_REV_HES_SWEEP_INCLUDED
22 # define CPPAD_REV_HES_SWEEP_INCLUDED
33
357357 // -------------------------------------------------
358358
359359 case ErfOp:
360 CPPAD_ASSERT_NARG_NRES(op, 1, 1)
360 CPPAD_ASSERT_NARG_NRES(op, 3, 5)
361361 reverse_sparse_hessian_nonlinear_unary_op(
362362 i_var, arg[0], RevJac, for_jac_sparse, rev_hes_sparse
363363 );
6363 onmouseover='MouseOver(1)'
6464 onmouseout='MouseOut(1)'
6565 ><img src='_close.gif' name='folder1' align='middle' />
66 <u>cppad-20150000.5: A Package for Differentiation of C++ Algorithms</u></a>
66 <u>cppad-20150000.6: A Package for Differentiation of C++ Algorithms</u></a>
6767
6868 <span id='children1'>
69 <br/><a href="cppad.xml" target="_top">cppad-20150000.5: A Package for Differentiation of C++ Algorithms</a>
69 <br/><a href="cppad.xml" target="_top">cppad-20150000.6: A Package for Differentiation of C++ Algorithms</a>
7070
7171 <br/>&#xA0;&#xA0;&#xA0;&#xA0;<a href="_contents_xml.htm" target="_top">Table of Contents</a>
7272
171171
172172 <tr valign="top"><td><a href="http://www.coin-or.org/download/source/CppAD/" target="_top">http://www.coin-or.org/download/source/CppAD/</a></td><td><a href="whats_new_09.xml#06-25" target="_top">whats_new_09#06-25</a></td></tr>
173173
174 <tr valign="top"><td><a href="http://www.coin-or.org/download/source/CppAD/cppad-20150000.5.epl.tgz" target="_top">http://www.coin-or.org/download/source/CppAD/cppad-20150000.5.epl.tgz</a></td><td><a href="download.xml#Compressed Archives" target="_top">download#Compressed Archives</a></td></tr>
175
176 <tr valign="top"><td><a href="http://www.coin-or.org/download/source/CppAD/cppad-20150000.5.gpl.tgz" target="_top">http://www.coin-or.org/download/source/CppAD/cppad-20150000.5.gpl.tgz</a></td><td><a href="download.xml#Compressed Archives" target="_top">download#Compressed Archives</a></td></tr>
174 <tr valign="top"><td><a href="http://www.coin-or.org/download/source/CppAD/cppad-20150000.6.epl.tgz" target="_top">http://www.coin-or.org/download/source/CppAD/cppad-20150000.6.epl.tgz</a></td><td><a href="download.xml#Compressed Archives" target="_top">download#Compressed Archives</a></td></tr>
175
176 <tr valign="top"><td><a href="http://www.coin-or.org/download/source/CppAD/cppad-20150000.6.gpl.tgz" target="_top">http://www.coin-or.org/download/source/CppAD/cppad-20150000.6.gpl.tgz</a></td><td><a href="download.xml#Compressed Archives" target="_top">download#Compressed Archives</a></td></tr>
177177
178178 <tr valign="top"><td><a href="http://www.coin-or.org/foundation.html" target="_top">http://www.coin-or.org/foundation.html</a></td><td><a href="cppad.xml#Introduction" target="_top">CppAD#Introduction</a></td></tr>
179179
10091009 &#160;&#160;&#160;&#160;&#160;boost<b>&#xA0;</b>thread<b>&#xA0;</b>example&#160;<a href="a11c_bthread.cpp.xml" target="_top">A&#xA0;Simple&#xA0;Boost&#xA0;Thread&#xA0;Example&#xA0;and&#xA0;Test</a><br/>
10101010 &#160;&#160;&#160;&#160;&#160;OpenMP<b>&#xA0;</b>example&#160;<a href="a11c_pthread.cpp.xml" target="_top">A&#xA0;Simple&#xA0;Parallel&#xA0;Pthread&#xA0;Example&#xA0;and&#xA0;Test</a><br/>
10111011 &#160;&#160;&#160;&#160;&#160;OpenMP<b>&#xA0;</b>example&#160;<a href="a11c_openmp.cpp.xml" target="_top">A&#xA0;Simple&#xA0;OpenMP&#xA0;Example&#xA0;and&#xA0;Test</a><br/>
1012 AD&#160;<a href="cppad.xml" target="_top">cppad-20150000.5:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
1012 AD&#160;<a href="cppad.xml" target="_top">cppad-20150000.6:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
10131013 &#160;&#160;&#160;&#160;&#160;arithmetic<b>&#xA0;</b>operator&#160;<a href="arithmetic.xml" target="_top">AD&#xA0;Arithmetic&#xA0;Operators&#xA0;and&#xA0;Computed&#xA0;Assignments</a><br/>
10141014 &#160;&#160;&#160;&#160;&#160;assignment&#160;<a href="ad_assign.xml" target="_top">AD&#xA0;Assignment&#xA0;Operator</a><br/>
10151015 &#160;&#160;&#160;&#160;&#160;binary<b>&#xA0;</b>compare<b>&#xA0;</b>operator&#160;<a href="compare.xml" target="_top">AD&#xA0;Binary&#xA0;Comparison&#xA0;Operators</a><br/>
11701170 &#160;&#160;<a href="atomic_hes_sparse.cpp.xml#Test with x_1 Both a Variable and a Parameter" target="_top">Atomic&#xA0;Operation&#xA0;Hessian&#xA0;Sparsity:&#xA0;Example&#xA0;and&#xA0;Test:&#160;Test&#xA0;with&#xA0;x_1&#xA0;Both&#xA0;a&#xA0;Variable&#xA0;and&#xA0;a&#xA0;Parameter</a><br/>
11711171 &#160;&#160;<a href="var2par.cpp.xml" target="_top">Convert&#xA0;an&#xA0;AD&#xA0;Variable&#xA0;to&#xA0;a&#xA0;Parameter:&#xA0;Example&#xA0;and&#xA0;Test</a><br/>
11721172 &#160;&#160;<a href="var2par.xml" target="_top">Convert&#xA0;an&#xA0;AD&#xA0;Variable&#xA0;to&#xA0;a&#xA0;Parameter</a><br/>
1173 &#160;&#160;<a href="cppad.xml" target="_top">cppad-20150000.5:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
1173 &#160;&#160;<a href="cppad.xml" target="_top">cppad-20150000.6:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
11741174 a11c&#160;<a href="thread_test.cpp.xml#a11c" target="_top">Run&#xA0;Multi-Threading&#xA0;Examples&#xA0;and&#xA0;Speed&#xA0;Tests:&#160;a11c</a><br/>
11751175 abort&#160;<a href="abort_recording.cpp.xml" target="_top">Abort&#xA0;Current&#xA0;Recording:&#xA0;Example&#xA0;and&#xA0;Test</a><br/>
11761176 &#160;&#160;&#160;&#160;&#160;&#160;<a href="abort_recording.xml" target="_top">Abort&#xA0;Recording&#xA0;of&#xA0;an&#xA0;Operation&#xA0;Sequence</a><br/>
14241424 algorithmic&#160;<a href="introduction.xml#Preface.Algorithmic Differentiation" target="_top">An&#xA0;Introduction&#xA0;by&#xA0;Example&#xA0;to&#xA0;Algorithmic&#xA0;Differentiation:&#160;Preface.Algorithmic&#xA0;Differentiation</a><br/>
14251425 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="introduction.xml" target="_top">An&#xA0;Introduction&#xA0;by&#xA0;Example&#xA0;to&#xA0;Algorithmic&#xA0;Differentiation</a><br/>
14261426 &#160;&#160;&#160;&#160;&#160;C<b>&#xA0;</b>differentiation&#160;<a href="ad_in_c.cpp.xml" target="_top">Example&#xA0;and&#xA0;Test&#xA0;Linking&#xA0;CppAD&#xA0;to&#xA0;Languages&#xA0;Other&#xA0;than&#xA0;C++</a><br/>
1427 algorithmic<b>&#xA0;</b>differentiation&#160;<a href="cppad.xml" target="_top">cppad-20150000.5:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
1428 algorithms&#160;<a href="cppad.xml" target="_top">cppad-20150000.5:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
1427 algorithmic<b>&#xA0;</b>differentiation&#160;<a href="cppad.xml" target="_top">cppad-20150000.6:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
1428 algorithms&#160;<a href="cppad.xml" target="_top">cppad-20150000.6:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
14291429 alignment&#160;<a href="ta_create_array.xml#Alignment" target="_top">Allocate&#xA0;An&#xA0;Array&#xA0;and&#xA0;Call&#xA0;Default&#xA0;Constructor&#xA0;for&#xA0;its&#xA0;Elements:&#160;Alignment</a><br/>
14301430 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="ta_get_memory.xml#Alignment" target="_top">Get&#xA0;At&#xA0;Least&#xA0;A&#xA0;Specified&#xA0;Amount&#xA0;of&#xA0;Memory:&#160;Alignment</a><br/>
14311431 all&#160;<a href="listallexamples.xml" target="_top">List&#xA0;of&#xA0;All&#xA0;the&#xA0;CppAD&#xA0;Examples</a><br/>
19361936 atomic<b>_</b>user&#160;<a href="atomic_ctor.xml#atomic_user" target="_top">Atomic&#xA0;Function&#xA0;Constructor:&#160;atomic_user</a><br/>
19371937 automatic<br/>
19381938 &#160;&#160;&#160;&#160;&#160;C<b>&#xA0;</b>differentiation&#160;<a href="ad_in_c.cpp.xml" target="_top">Example&#xA0;and&#xA0;Test&#xA0;Linking&#xA0;CppAD&#xA0;to&#xA0;Languages&#xA0;Other&#xA0;than&#xA0;C++</a><br/>
1939 automatic<b>&#xA0;</b>differentiation&#160;<a href="cppad.xml" target="_top">cppad-20150000.5:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
1939 automatic<b>&#xA0;</b>differentiation&#160;<a href="cppad.xml" target="_top">cppad-20150000.6:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
19401940 available&#160;<a href="memory_leak.xml#available" target="_top">Memory&#xA0;Leak&#xA0;Detection:&#160;available</a><br/>
19411941 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="omp_delete_array.xml" target="_top">Return&#xA0;A&#xA0;Raw&#xA0;Array&#xA0;to&#xA0;The&#xA0;Available&#xA0;Memory&#xA0;for&#xA0;a&#xA0;Thread</a><br/>
19421942 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="omp_available.xml" target="_top">Amount&#xA0;of&#xA0;Memory&#xA0;Available&#xA0;for&#xA0;Quick&#xA0;Use&#xA0;by&#xA0;a&#xA0;Thread</a><br/>
21372137 &#160;&#160;&#160;&#160;&#160;compare<b>&#xA0;</b>speed<b>&#xA0;</b>with<b>&#xA0;</b>C<b>++</b>&#160;<a href="compare_c.xml" target="_top">Compare&#xA0;Speed&#xA0;of&#xA0;C&#xA0;and&#xA0;C++</a><br/>
21382138 &#160;&#160;&#160;&#160;&#160;interface<b>&#xA0;</b>to&#160;<a href="interface2c.cpp.xml" target="_top">Interfacing&#xA0;to&#xA0;C:&#xA0;Example&#xA0;and&#xA0;Test</a><br/>
21392139 C<b>++</b><br/>
2140 &#160;&#160;&#160;&#160;&#160;algorithm<b>&#xA0;</b>derivative&#160;<a href="cppad.xml" target="_top">cppad-20150000.5:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
2140 &#160;&#160;&#160;&#160;&#160;algorithm<b>&#xA0;</b>derivative&#160;<a href="cppad.xml" target="_top">cppad-20150000.6:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
21412141 &#160;&#160;&#160;&#160;&#160;compare<b>&#xA0;</b>speed<b>&#xA0;</b>with<b>&#xA0;</b>C&#160;<a href="compare_c.xml" target="_top">Compare&#xA0;Speed&#xA0;of&#xA0;C&#xA0;and&#xA0;C++</a><br/>
21422142 &#160;&#160;&#160;&#160;&#160;numerical<b>&#xA0;</b>template<b>&#xA0;</b>library&#160;<a href="library.xml" target="_top">The&#xA0;CppAD&#xA0;General&#xA0;Purpose&#xA0;Library</a><br/>
21432143 CheckNumericType&#160;<a href="check_numeric_type.cpp.xml" target="_top">The&#xA0;CheckNumericType&#xA0;Function:&#xA0;Example&#xA0;and&#xA0;Test</a><br/>
21692169 CPPAD<b>_</b>TRACK<b>_</b>NEW<b>_</b>VEC&#160;<a href="tracknewdel.xml#TrackNewVec.Macro" target="_top">Routines&#xA0;That&#xA0;Track&#xA0;Use&#xA0;of&#xA0;New&#xA0;and&#xA0;Delete:&#160;TrackNewVec.Macro</a><br/>
21702170 CPPAD<b>_</b>USER<b>_</b>ATOMIC&#160;<a href="old_atomic.xml#CPPAD_USER_ATOMIC" target="_top">User&#xA0;Defined&#xA0;Atomic&#xA0;AD&#xA0;Functions:&#160;CPPAD_USER_ATOMIC</a><br/>
21712171 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="old_atomic.xml" target="_top">User&#xA0;Defined&#xA0;Atomic&#xA0;AD&#xA0;Functions</a><br/>
2172 CppAD&#160;<a href="cppad.xml" target="_top">cppad-20150000.5:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
2173 &#160;&#160;&#160;&#160;&#160;namespace&#160;<a href="cppad.xml#Namespace" target="_top">cppad-20150000.5:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Namespace</a><br/>
2172 CppAD&#160;<a href="cppad.xml" target="_top">cppad-20150000.6:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
2173 &#160;&#160;&#160;&#160;&#160;namespace&#160;<a href="cppad.xml#Namespace" target="_top">cppad-20150000.6:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Namespace</a><br/>
21742174 &#160;&#160;&#160;&#160;&#160;nonlinear<b>&#xA0;</b>programming&#160;<a href="cppad_ipopt_nlp.xml" target="_top">Nonlinear&#xA0;Programming&#xA0;Using&#xA0;the&#xA0;CppAD&#xA0;Interface&#xA0;to&#xA0;Ipopt</a><br/>
2175 &#160;&#160;&#160;&#160;&#160;preprocessor<b>&#xA0;</b>symbol&#160;<a href="cppad.xml#Preprocessor Symbols" target="_top">cppad-20150000.5:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Preprocessor&#xA0;Symbols</a><br/>
2175 &#160;&#160;&#160;&#160;&#160;preprocessor<b>&#xA0;</b>symbol&#160;<a href="cppad.xml#Preprocessor Symbols" target="_top">cppad-20150000.6:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Preprocessor&#xA0;Symbols</a><br/>
21762176 &#160;&#160;&#160;&#160;&#160;unix<b>&#xA0;</b>install&#160;<a href="installunix.xml" target="_top">Deprecated&#xA0;Unix&#xA0;Test&#xA0;and&#xA0;Installation</a><br/>
21772177 CppAD<b>::</b>vector<br/>
21782178 &#160;&#160;&#160;&#160;&#160;example&#160;<a href="cppad_vector.cpp.xml" target="_top">CppAD::vector&#xA0;Template&#xA0;Class:&#xA0;Example&#xA0;and&#xA0;Test</a><br/>
21952195 &#160;&#160;&#160;&#160;<a href="bib.xml#The C++ Programming Language" target="_top">Bibliography:&#160;The&#xA0;C++&#xA0;Programming&#xA0;Language</a><br/>
21962196 &#160;&#160;&#160;&#160;<a href="ad_in_c.cpp.xml" target="_top">Example&#xA0;and&#xA0;Test&#xA0;Linking&#xA0;CppAD&#xA0;to&#xA0;Languages&#xA0;Other&#xA0;than&#xA0;C++</a><br/>
21972197 &#160;&#160;&#160;&#160;<a href="library.xml#C++ Concepts" target="_top">The&#xA0;CppAD&#xA0;General&#xA0;Purpose&#xA0;Library:&#160;C++&#xA0;Concepts</a><br/>
2198 &#160;&#160;&#160;&#160;<a href="cppad.xml" target="_top">cppad-20150000.5:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
2198 &#160;&#160;&#160;&#160;<a href="cppad.xml" target="_top">cppad-20150000.6:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
21992199 &#160;&#160;&#160;&#160;&#160;compile<b>&#xA0;</b>flags&#160;<a href="cmake.xml#cppad_cxx_flags" target="_top">Using&#xA0;CMake&#xA0;to&#xA0;Configure&#xA0;CppAD:&#160;cppad_cxx_flags</a><br/>
22002200 c<b>:</b>&#160;<a href="interface2c.cpp.xml" target="_top">Interfacing&#xA0;to&#xA0;C:&#xA0;Example&#xA0;and&#xA0;Test</a><br/>
22012201 calculating&#160;<a href="sparse.xml" target="_top">Calculating&#xA0;Sparsity&#xA0;Patterns</a><br/>
26892689 &#160;&#160;&#160;&#160;&#160;speed<b>&#xA0;</b>test&#160;<a href="speed_cppad.xml" target="_top">Speed&#xA0;Test&#xA0;Derivatives&#xA0;Using&#xA0;CppAD</a><br/>
26902690 &#160;&#160;&#160;&#160;&#160;speed<b>&#xA0;</b>test&#160;<a href="speed_main.xml" target="_top">Running&#xA0;the&#xA0;Speed&#xA0;Test&#xA0;Program</a><br/>
26912691 &#160;&#160;&#160;&#160;&#160;test<b>&#xA0;</b>vector&#160;<a href="cppad_testvector.xml" target="_top">Choosing&#xA0;the&#xA0;CppAD&#xA0;Test&#xA0;Vector&#xA0;Template&#xA0;Class</a><br/>
2692 cppad<b>-</b>20150000<b>.</b>5<b>:</b>&#160;<a href="cppad.xml" target="_top">cppad-20150000.5:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
2692 cppad<b>-</b>20150000<b>.</b>6<b>:</b>&#160;<a href="cppad.xml" target="_top">cppad-20150000.6:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
26932693 cppad<b>.</b>hpp<br/>
2694 &#160;&#160;&#160;&#160;&#160;include&#160;<a href="cppad.xml#Include File" target="_top">cppad-20150000.5:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Include&#xA0;File</a><br/>
2694 &#160;&#160;&#160;&#160;&#160;include&#160;<a href="cppad.xml#Include File" target="_top">cppad-20150000.6:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Include&#xA0;File</a><br/>
26952695 cppad<b>::</b>vector&#160;<a href="test_vector.xml#CppAD::vector" target="_top">Choosing&#xA0;The&#xA0;Vector&#xA0;Testing&#xA0;Template&#xA0;Class:&#160;CppAD::vector</a><br/>
26962696 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="testvector.xml#CppAD::vector" target="_top">Using&#xA0;The&#xA0;CppAD&#xA0;Test&#xA0;Vector&#xA0;Template&#xA0;Class:&#160;CppAD::vector</a><br/>
26972697 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad_vector.cpp.xml" target="_top">CppAD::vector&#xA0;Template&#xA0;Class:&#xA0;Example&#xA0;and&#xA0;Test</a><br/>
30633063 differentiating&#160;<a href="stack_machine.cpp.xml" target="_top">Example&#xA0;Differentiating&#xA0;a&#xA0;Stack&#xA0;Machine&#xA0;Interpreter</a><br/>
30643064 differentiation&#160;<a href="introduction.xml#Preface.Algorithmic Differentiation" target="_top">An&#xA0;Introduction&#xA0;by&#xA0;Example&#xA0;to&#xA0;Algorithmic&#xA0;Differentiation:&#160;Preface.Algorithmic&#xA0;Differentiation</a><br/>
30653065 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="introduction.xml" target="_top">An&#xA0;Introduction&#xA0;by&#xA0;Example&#xA0;to&#xA0;Algorithmic&#xA0;Differentiation</a><br/>
3066 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml" target="_top">cppad-20150000.5:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
3066 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml" target="_top">cppad-20150000.6:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
30673067 dimension<br/>
30683068 &#160;&#160;&#160;&#160;&#160;multi<b>&#xA0;</b>Romberg<b>&#xA0;</b>integration&#160;<a href="rombergmul.xml" target="_top">Multi-dimensional&#xA0;Romberg&#xA0;Integration</a><br/>
30693069 dimensional&#160;<a href="rombergmul.cpp.xml" target="_top">One&#xA0;Dimensional&#xA0;Romberg&#xA0;Integration:&#xA0;Example&#xA0;and&#xA0;Test</a><br/>
37123712 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="introduction.xml" target="_top">An&#xA0;Introduction&#xA0;by&#xA0;Example&#xA0;to&#xA0;Algorithmic&#xA0;Differentiation</a><br/>
37133713 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="colpack.cpp.xml" target="_top">Using&#xA0;ColPack:&#xA0;Example&#xA0;and&#xA0;Test</a><br/>
37143714 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="colpack_prefix.xml#Example" target="_top">Including&#xA0;the&#xA0;ColPack&#xA0;Sparsity&#xA0;Calculations:&#160;Example</a><br/>
3715 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml#Example" target="_top">cppad-20150000.5:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Example</a><br/>
3715 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml#Example" target="_top">cppad-20150000.6:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Example</a><br/>
37163716 &#160;&#160;&#160;&#160;&#160;AD<b>&#xA0;</b>acos&#160;<a href="acos.cpp.xml" target="_top">The&#xA0;AD&#xA0;acos&#xA0;Function:&#xA0;Example&#xA0;and&#xA0;Test</a><br/>
37173717 &#160;&#160;&#160;&#160;&#160;AD<b>&#xA0;</b>add&#160;<a href="add.cpp.xml" target="_top">AD&#xA0;Binary&#xA0;Addition:&#xA0;Example&#xA0;and&#xA0;Test</a><br/>
37183718 &#160;&#160;&#160;&#160;&#160;AD<b>&#xA0;</b>asin&#160;<a href="asin.cpp.xml" target="_top">The&#xA0;AD&#xA0;asin&#xA0;Function:&#xA0;Example&#xA0;and&#xA0;Test</a><br/>
42484248 &#160;&#160;&#160;&#160;&#160;<a href="base_alloc.hpp.xml#Include File" target="_top">Example&#xA0;AD&lt;Base&gt;&#xA0;Where&#xA0;Base&#xA0;Constructor&#xA0;Allocates&#xA0;Memory:&#160;Include&#xA0;File</a><br/>
42494249 &#160;&#160;&#160;&#160;&#160;<a href="download.xml#Compressed Archives.Windows File Extraction" target="_top">Download&#xA0;The&#xA0;CppAD&#xA0;Source&#xA0;Code:&#160;Compressed&#xA0;Archives.Windows&#xA0;File&#xA0;Extraction</a><br/>
42504250 &#160;&#160;&#160;&#160;&#160;<a href="download.xml#Compressed Archives.Unix File Extraction" target="_top">Download&#xA0;The&#xA0;CppAD&#xA0;Source&#xA0;Code:&#160;Compressed&#xA0;Archives.Unix&#xA0;File&#xA0;Extraction</a><br/>
4251 &#160;&#160;&#160;&#160;&#160;<a href="cppad.xml#Include File" target="_top">cppad-20150000.5:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Include&#xA0;File</a><br/>
4251 &#160;&#160;&#160;&#160;&#160;<a href="cppad.xml#Include File" target="_top">cppad-20150000.6:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Include&#xA0;File</a><br/>
42524252 &#160;&#160;&#160;&#160;&#160;deprecated<b>&#xA0;</b>include&#160;<a href="include_deprecated.xml" target="_top">Deprecated&#xA0;Include&#xA0;Files</a><br/>
42534253 files&#160;<a href="include_deprecated.xml#Linking New Files to Deprecated Commands" target="_top">Deprecated&#xA0;Include&#xA0;Files:&#160;Linking&#xA0;New&#xA0;Files&#xA0;to&#xA0;Deprecated&#xA0;Commands</a><br/>
42544254 &#160;&#160;&#160;&#160;&#160;&#160;<a href="include_deprecated.xml" target="_top">Deprecated&#xA0;Include&#xA0;Files</a><br/>
43604360 &#160;&#160;&#160;&#160;<a href="nearequalext.xml" target="_top">Compare&#xA0;AD&#xA0;and&#xA0;Base&#xA0;Objects&#xA0;for&#xA0;Nearly&#xA0;Equal</a><br/>
43614361 &#160;&#160;&#160;&#160;<a href="limits.xml" target="_top">Numeric&#xA0;Limits&#xA0;For&#xA0;an&#xA0;AD&#xA0;and&#xA0;Base&#xA0;Types</a><br/>
43624362 &#160;&#160;&#160;&#160;<a href="exp_apx_main.cpp.xml" target="_top">Correctness&#xA0;Tests&#xA0;For&#xA0;Exponential&#xA0;Approximation&#xA0;in&#xA0;Introduction</a><br/>
4363 &#160;&#160;&#160;&#160;<a href="cppad.xml" target="_top">cppad-20150000.5:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
4363 &#160;&#160;&#160;&#160;<a href="cppad.xml" target="_top">cppad-20150000.6:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
43644364 for<b>_</b>jac<b>_</b>sparse&#160;<a href="old_atomic.xml#for_jac_sparse" target="_top">User&#xA0;Defined&#xA0;Atomic&#xA0;AD&#xA0;Functions:&#160;for_jac_sparse</a><br/>
43654365 for<b>_</b>sparse<b>_</b>jac&#160;<a href="atomic_matrix_mul.hpp.xml#for_sparse_jac" target="_top">Matrix&#xA0;Multiply&#xA0;as&#xA0;an&#xA0;Atomic&#xA0;Operation:&#160;for_sparse_jac</a><br/>
43664366 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="atomic_mat_mul.cpp.xml#Use Atomic Function.for_sparse_jac" target="_top">User&#xA0;Atomic&#xA0;Matrix&#xA0;Multiply:&#xA0;Example&#xA0;and&#xA0;Test:&#160;Use&#xA0;Atomic&#xA0;Function.for_sparse_jac</a><br/>
49754975 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="base_require.xml#Include Order" target="_top">AD&lt;Base&gt;&#xA0;Requirements&#xA0;for&#xA0;Base&#xA0;Type:&#160;Include&#xA0;Order</a><br/>
49764976 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="exp_eps.xml#include" target="_top">An&#xA0;Epsilon&#xA0;Accurate&#xA0;Exponential&#xA0;Approximation:&#160;include</a><br/>
49774977 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="exp_2.xml#include" target="_top">Second&#xA0;Order&#xA0;Exponential&#xA0;Approximation:&#160;include</a><br/>
4978 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml#Include File" target="_top">cppad-20150000.5:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Include&#xA0;File</a><br/>
4979 &#160;&#160;&#160;&#160;&#160;cppad<b>.</b>hpp&#160;<a href="cppad.xml#Include File" target="_top">cppad-20150000.5:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Include&#xA0;File</a><br/>
4978 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml#Include File" target="_top">cppad-20150000.6:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Include&#xA0;File</a><br/>
4979 &#160;&#160;&#160;&#160;&#160;cppad<b>.</b>hpp&#160;<a href="cppad.xml#Include File" target="_top">cppad-20150000.6:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Include&#xA0;File</a><br/>
49804980 &#160;&#160;&#160;&#160;&#160;deprecated<b>&#xA0;</b>file&#160;<a href="include_deprecated.xml" target="_top">Deprecated&#xA0;Include&#xA0;Files</a><br/>
49814981 include<b>&#xA0;</b>directories<br/>
49824982 &#160;&#160;&#160;&#160;&#160;install&#160;<a href="cmake.xml#cmake_install_includedirs" target="_top">Using&#xA0;CMake&#xA0;to&#xA0;Configure&#xA0;CppAD:&#160;cmake_install_includedirs</a><br/>
51545154 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="example.xml#Introduction" target="_top">Examples:&#160;Introduction</a><br/>
51555155 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="exp_apx_main.cpp.xml" target="_top">Correctness&#xA0;Tests&#xA0;For&#xA0;Exponential&#xA0;Approximation&#xA0;in&#xA0;Introduction</a><br/>
51565156 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="introduction.xml" target="_top">An&#xA0;Introduction&#xA0;by&#xA0;Example&#xA0;to&#xA0;Algorithmic&#xA0;Differentiation</a><br/>
5157 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml#Introduction" target="_top">cppad-20150000.5:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Introduction</a><br/>
5158 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml#Introduction" target="_top">cppad-20150000.5:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Introduction</a><br/>
5157 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml#Introduction" target="_top">cppad-20150000.6:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Introduction</a><br/>
5158 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml#Introduction" target="_top">cppad-20150000.6:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Introduction</a><br/>
51595159 &#160;&#160;&#160;&#160;&#160;AD&#160;<a href="introduction.xml" target="_top">An&#xA0;Introduction&#xA0;by&#xA0;Example&#xA0;to&#xA0;Algorithmic&#xA0;Differentiation</a><br/>
51605160 inuse&#160;<a href="memory_leak.xml#inuse" target="_top">Memory&#xA0;Leak&#xA0;Detection:&#160;inuse</a><br/>
51615161 &#160;&#160;&#160;&#160;&#160;omp<b>_</b>alloc&#160;<a href="omp_inuse.xml#Deprecated" target="_top">Amount&#xA0;of&#xA0;Memory&#xA0;a&#xA0;Thread&#xA0;is&#xA0;Currently&#xA0;Using:&#160;Deprecated</a><br/>
59655965 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="faq.xml#Namespace" target="_top">Frequently&#xA0;Asked&#xA0;Questions&#xA0;and&#xA0;Answers:&#160;Namespace</a><br/>
59665966 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="faq.xml#Namespace" target="_top">Frequently&#xA0;Asked&#xA0;Questions&#xA0;and&#xA0;Answers:&#160;Namespace</a><br/>
59675967 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad_eigen.hpp.xml#CppAD Namespace" target="_top">Enable&#xA0;Use&#xA0;of&#xA0;Eigen&#xA0;Linear&#xA0;Algebra&#xA0;Package&#xA0;with&#xA0;CppAD:&#160;CppAD&#xA0;Namespace</a><br/>
5968 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml#Namespace" target="_top">cppad-20150000.5:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Namespace</a><br/>
5969 &#160;&#160;&#160;&#160;&#160;CppAD&#160;<a href="cppad.xml#Namespace" target="_top">cppad-20150000.5:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Namespace</a><br/>
5968 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml#Namespace" target="_top">cppad-20150000.6:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Namespace</a><br/>
5969 &#160;&#160;&#160;&#160;&#160;CppAD&#160;<a href="cppad.xml#Namespace" target="_top">cppad-20150000.6:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Namespace</a><br/>
59705970 nan&#160;<a href="ode_err_control.cpp.xml#Nan" target="_top">OdeErrControl:&#xA0;Example&#xA0;and&#xA0;Test:&#160;Nan</a><br/>
59715971 &#160;&#160;&#160;&#160;<a href="odeerrcontrol.xml#Method.Nan" target="_top">An&#xA0;Error&#xA0;Controller&#xA0;for&#xA0;ODE&#xA0;Solvers:&#160;Method.Nan</a><br/>
59725972 &#160;&#160;&#160;&#160;<a href="rosen34.xml#Fun.Nan" target="_top">A&#xA0;3rd&#xA0;and&#xA0;4th&#xA0;Order&#xA0;Rosenbrock&#xA0;ODE&#xA0;Solver:&#160;Fun.Nan</a><br/>
63036303 &#160;&#160;&#160;<a href="atomic_afun.xml" target="_top">Using&#xA0;AD&#xA0;Version&#xA0;of&#xA0;Atomic&#xA0;Function</a><br/>
63046304 &#160;&#160;&#160;<a href="convert.xml" target="_top">Conversion&#xA0;and&#xA0;I/O&#xA0;of&#xA0;AD&#xA0;Objects</a><br/>
63056305 &#160;&#160;&#160;<a href="exp_eps.cpp.xml" target="_top">exp_eps:&#xA0;Test&#xA0;of&#xA0;exp_eps</a><br/>
6306 &#160;&#160;&#160;<a href="cppad.xml" target="_top">cppad-20150000.5:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
6306 &#160;&#160;&#160;<a href="cppad.xml" target="_top">cppad-20150000.6:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
63076307 ok&#160;<a href="old_atomic.xml#ok" target="_top">User&#xA0;Defined&#xA0;Atomic&#xA0;AD&#xA0;Functions:&#160;ok</a><br/>
63086308 &#160;&#160;&#160;<a href="det_grad_33.xml#ok" target="_top">Check&#xA0;Gradient&#xA0;of&#xA0;Determinant&#xA0;of&#xA0;3&#xA0;by&#xA0;3&#xA0;matrix:&#160;ok</a><br/>
63096309 &#160;&#160;&#160;<a href="det_33.xml#ok" target="_top">Check&#xA0;Determinant&#xA0;of&#xA0;3&#xA0;by&#xA0;3&#xA0;matrix:&#160;ok</a><br/>
66916691 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="speed_main.xml#package" target="_top">Running&#xA0;the&#xA0;Speed&#xA0;Test&#xA0;Program:&#160;package</a><br/>
66926692 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="speed.xml" target="_top">Speed&#xA0;Test&#xA0;an&#xA0;Operator&#xA0;Overloading&#xA0;AD&#xA0;Package</a><br/>
66936693 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad_eigen.hpp.xml" target="_top">Enable&#xA0;Use&#xA0;of&#xA0;Eigen&#xA0;Linear&#xA0;Algebra&#xA0;Package&#xA0;with&#xA0;CppAD</a><br/>
6694 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml" target="_top">cppad-20150000.5:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
6694 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml" target="_top">cppad-20150000.6:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
66956695 &#160;&#160;&#160;&#160;&#160;prefix&#160;<a href="cmake.xml#package_prefix" target="_top">Using&#xA0;CMake&#xA0;to&#xA0;Configure&#xA0;CppAD:&#160;package_prefix</a><br/>
66966696 package<b>_</b>prefix&#160;<a href="cmake.xml#package_prefix" target="_top">Using&#xA0;CMake&#xA0;to&#xA0;Configure&#xA0;CppAD:&#160;package_prefix</a><br/>
66976697 pairs&#160;<a href="wishlist.xml#Optimization.Variable Pairs" target="_top">The&#xA0;CppAD&#xA0;Wish&#xA0;List:&#160;Optimization.Variable&#xA0;Pairs</a><br/>
68656865 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="wishlist.xml#Preprocessor Symbols" target="_top">The&#xA0;CppAD&#xA0;Wish&#xA0;List:&#160;Preprocessor&#xA0;Symbols</a><br/>
68666866 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="faq.xml#Namespace.Test Vector Preprocessor Symbol" target="_top">Frequently&#xA0;Asked&#xA0;Questions&#xA0;and&#xA0;Answers:&#160;Namespace.Test&#xA0;Vector&#xA0;Preprocessor&#xA0;Symbol</a><br/>
68676867 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="preprocessor.xml" target="_top">CppAD&#xA0;API&#xA0;Preprocessor&#xA0;Symbols</a><br/>
6868 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml#Preprocessor Symbols" target="_top">cppad-20150000.5:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Preprocessor&#xA0;Symbols</a><br/>
6868 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml#Preprocessor Symbols" target="_top">cppad-20150000.6:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Preprocessor&#xA0;Symbols</a><br/>
68696869 &#160;&#160;&#160;&#160;&#160;CPPAD<b>_&#xA0;</b>symbol&#160;<a href="preprocessor.xml" target="_top">CppAD&#xA0;API&#xA0;Preprocessor&#xA0;Symbols</a><br/>
6870 &#160;&#160;&#160;&#160;&#160;symbol<b>&#xA0;</b>CppAD&#160;<a href="cppad.xml#Preprocessor Symbols" target="_top">cppad-20150000.5:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Preprocessor&#xA0;Symbols</a><br/>
6870 &#160;&#160;&#160;&#160;&#160;symbol<b>&#xA0;</b>CppAD&#160;<a href="cppad.xml#Preprocessor Symbols" target="_top">cppad-20150000.6:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Preprocessor&#xA0;Symbols</a><br/>
68716871 &#160;&#160;&#160;&#160;&#160;symbols&#160;<a href="faq.xml#Namespace.Test Vector Preprocessor Symbol" target="_top">Frequently&#xA0;Asked&#xA0;Questions&#xA0;and&#xA0;Answers:&#160;Namespace.Test&#xA0;Vector&#xA0;Preprocessor&#xA0;Symbol</a><br/>
68726872 previous&#160;<a href="whats_new.xml#Previous Years" target="_top">Changes&#xA0;and&#xA0;Additions&#xA0;to&#xA0;CppAD:&#160;Previous&#xA0;Years</a><br/>
68736873 previously&#160;<a href="tracknewdel.xml#TrackCount.Previously Deprecated" target="_top">Routines&#xA0;That&#xA0;Track&#xA0;Use&#xA0;of&#xA0;New&#xA0;and&#xA0;Delete:&#160;TrackCount.Previously&#xA0;Deprecated</a><br/>
84248424 &#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="exp_2_cppad.xml" target="_top">exp_2:&#xA0;CppAD&#xA0;Forward&#xA0;and&#xA0;Reverse&#xA0;Sweeps</a><br/>
84258425 symbol&#160;<a href="faq.xml#Namespace.Test Vector Preprocessor Symbol" target="_top">Frequently&#xA0;Asked&#xA0;Questions&#xA0;and&#xA0;Answers:&#160;Namespace.Test&#xA0;Vector&#xA0;Preprocessor&#xA0;Symbol</a><br/>
84268426 &#160;&#160;&#160;&#160;&#160;preprocessor<b>&#xA0;</b>CPPAD<b>_</b>&#160;<a href="preprocessor.xml" target="_top">CppAD&#xA0;API&#xA0;Preprocessor&#xA0;Symbols</a><br/>
8427 &#160;&#160;&#160;&#160;&#160;preprocessor<b>&#xA0;</b>CppAD&#160;<a href="cppad.xml#Preprocessor Symbols" target="_top">cppad-20150000.5:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Preprocessor&#xA0;Symbols</a><br/>
8427 &#160;&#160;&#160;&#160;&#160;preprocessor<b>&#xA0;</b>CppAD&#160;<a href="cppad.xml#Preprocessor Symbols" target="_top">cppad-20150000.6:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Preprocessor&#xA0;Symbols</a><br/>
84288428 symbols&#160;<a href="wishlist.xml#Preprocessor Symbols" target="_top">The&#xA0;CppAD&#xA0;Wish&#xA0;List:&#160;Preprocessor&#xA0;Symbols</a><br/>
84298429 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="preprocessor.xml" target="_top">CppAD&#xA0;API&#xA0;Preprocessor&#xA0;Symbols</a><br/>
8430 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml#Preprocessor Symbols" target="_top">cppad-20150000.5:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Preprocessor&#xA0;Symbols</a><br/>
8430 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml#Preprocessor Symbols" target="_top">cppad-20150000.6:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Preprocessor&#xA0;Symbols</a><br/>
84318431 &#160;&#160;&#160;&#160;&#160;preprocessor&#160;<a href="faq.xml#Namespace.Test Vector Preprocessor Symbol" target="_top">Frequently&#xA0;Asked&#xA0;Questions&#xA0;and&#xA0;Answers:&#160;Namespace.Test&#xA0;Vector&#xA0;Preprocessor&#xA0;Symbol</a><br/>
84328432 syntax&#160;<a href="time_det_by_minor_c.xml#Syntax" target="_top">Determine&#xA0;Amount&#xA0;of&#xA0;Time&#xA0;to&#xA0;Execute&#xA0;det_by_minor:&#160;Syntax</a><br/>
84338433 &#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="elapsed_seconds_c.xml#Syntax" target="_top">Returns&#xA0;Elapsed&#xA0;Number&#xA0;of&#xA0;Seconds:&#160;Syntax</a><br/>
86058605 &#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="get_eigen.sh.xml#Syntax" target="_top">Download&#xA0;and&#xA0;Install&#xA0;Eigen&#xA0;in&#xA0;Build&#xA0;Directory:&#160;Syntax</a><br/>
86068606 &#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="get_colpack.sh.xml#Syntax" target="_top">Download&#xA0;and&#xA0;Install&#xA0;ColPack&#xA0;in&#xA0;Build&#xA0;Directory:&#160;Syntax</a><br/>
86078607 &#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="get_adolc.sh.xml#Syntax" target="_top">Download&#xA0;and&#xA0;Install&#xA0;Adolc&#xA0;in&#xA0;Build&#xA0;Directory:&#160;Syntax</a><br/>
8608 &#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml#Syntax" target="_top">cppad-20150000.5:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Syntax</a><br/>
8608 &#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml#Syntax" target="_top">cppad-20150000.6:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Syntax</a><br/>
86098609 systems&#160;<a href="elapsed_seconds.xml#Microsoft Systems" target="_top">Returns&#xA0;Elapsed&#xA0;Number&#xA0;of&#xA0;Seconds:&#160;Microsoft&#xA0;Systems</a><br/>
86108610
86118611 <b><big><a name="T">T</a></big></b>
98869886 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="discrete.xml#Create AD Version" target="_top">Discrete&#xA0;AD&#xA0;Functions:&#160;Create&#xA0;AD&#xA0;Version</a><br/>
98879887 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="download.xml#Subversion.Current Version" target="_top">Download&#xA0;The&#xA0;CppAD&#xA0;Source&#xA0;Code:&#160;Subversion.Current&#xA0;Version</a><br/>
98889888 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="download.xml#Compressed Archives.Current Version" target="_top">Download&#xA0;The&#xA0;CppAD&#xA0;Source&#xA0;Code:&#160;Compressed&#xA0;Archives.Current&#xA0;Version</a><br/>
9889 &#160;&#160;&#160;&#160;&#160;CppAD&#160;<a href="cppad.xml" target="_top">cppad-20150000.5:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
9889 &#160;&#160;&#160;&#160;&#160;CppAD&#160;<a href="cppad.xml" target="_top">cppad-20150000.6:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
98909890 version<b>)</b>&#160;<a href="double_mat_mul.cpp.xml" target="_top">CppAD&#xA0;Speed:&#xA0;Matrix&#xA0;Multiplication&#xA0;(Double&#xA0;Version)</a><br/>
98919891 versions&#160;<a href="download.xml#Subversion.Release Versions" target="_top">Download&#xA0;The&#xA0;CppAD&#xA0;Source&#xA0;Code:&#160;Subversion.Release&#xA0;Versions</a><br/>
98929892 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="download.xml#Subversion.Stable Versions" target="_top">Download&#xA0;The&#xA0;CppAD&#xA0;Source&#xA0;Code:&#160;Subversion.Stable&#xA0;Versions</a><br/>
204204 <a href="correct_det_by_minor_c.xml" target="_top">correct_det_by_minor_c</a><br/> </td><td> Correctness Test of det_by_minor Routine </td></tr><tr valign="top"><td>
205205 <a href="cos.cpp.xml" target="_top">cos.cpp</a><br/> </td><td> The AD cos Function: Example and Test </td></tr><tr valign="top"><td>
206206 <a href="cosh.cpp.xml" target="_top">cosh.cpp</a><br/> </td><td> The AD cosh Function: Example and Test </td></tr><tr valign="top"><td>
207 <a href="cppad.xml" target="_top">CppAD</a><br/> </td><td> cppad-20150000.5: A Package for Differentiation of C++ Algorithms </td></tr><tr valign="top"><td>
207 <a href="cppad.xml" target="_top">CppAD</a><br/> </td><td> cppad-20150000.6: A Package for Differentiation of C++ Algorithms </td></tr><tr valign="top"><td>
208208 <a href="cppad_assert.xml" target="_top">cppad_assert</a><br/> </td><td> CppAD Assertions During Execution </td></tr><tr valign="top"><td>
209209 <a href="cppad_det_lu.cpp.xml" target="_top">cppad_det_lu.cpp</a><br/> </td><td> CppAD Speed: Gradient of Determinant Using Lu Factorization </td></tr><tr valign="top"><td>
210210 <a href="cppad_det_minor.cpp.xml" target="_top">cppad_det_minor.cpp</a><br/> </td><td> CppAD Speed: Gradient of Determinant by Minor Expansion </td></tr><tr valign="top"><td>
22 // -------------------------------------------------------
33 Keyword =
44 [
5 'CppAD cppad-20150000.5: A Package for Differentiation of C++ Algorithms ',' algorithmic automatic derivative version syntax introduction example include file cppad.hpp preprocessor symbols namespace ',
5 'CppAD cppad-20150000.6: A Package for Differentiation of C++ Algorithms ',' algorithmic automatic derivative version syntax introduction example include file cppad.hpp preprocessor symbols namespace ',
66 'Install CppAD Download, Test, and Install Instructions ',' step 1: 2: cmake 3: check 4: ',
77 'download Download The CppAD Source Code ',' purpose distribution directory compressed archives current version release versions monthly unix file extraction windows install instructions subversion limitations stable ',
88 'cmake Using CMake to Configure CppAD ',' the program command build directory generator makefile cmake_install_prefix cmake_install_includedirs directories cmake_install_datadir cmake_install_docdir cmake_install_libdirs library cmake_install_postfix package_prefix cppad_cxx_flags c++ compile cppad_testvector cppad_max_num_threads maximum number cppad_sparse_list sparsity internal structure of sets cppad_tape_id_type memory usage cstdint cppad_tape_addr_type cppad_implicit_ctor_from_any_type explicit ',
22 xmlns:math='http://www.w3.org/1998/Math/MathML'
33 >
44 <head>
5 <title>cppad-20150000.5: A Package for Differentiation of C++ Algorithms</title>
5 <title>cppad-20150000.6: A Package for Differentiation of C++ Algorithms</title>
66 <meta http-equiv='Content-Type' content='text/html' charset='utf-8'/>
7 <meta name="description" id="description" content="cppad-20150000.5: A Package for Differentiation of C++ Algorithms"/>
8 <meta name="keywords" id="keywords" content=" Ad algorithmic differentiation automatic C++ algorithm derivative Cppad version cppad-20150000.5: a package for of c++ algorithms syntax introduction example include file cppad.hpp preprocessor symbols symbol namespace "/>
7 <meta name="description" id="description" content="cppad-20150000.6: A Package for Differentiation of C++ Algorithms"/>
8 <meta name="keywords" id="keywords" content=" Ad algorithmic differentiation automatic C++ algorithm derivative Cppad version cppad-20150000.6: a package for of c++ algorithms syntax introduction example include file cppad.hpp preprocessor symbols symbol namespace "/>
99 <style type='text/css'>
1010 body { color : black }
1111 body { background-color : white }
7575
7676
7777
78 <center><b><big><big>cppad-20150000.5: A Package for Differentiation of C++ Algorithms</big></big></b></center>
78 <center><b><big><big>cppad-20150000.6: A Package for Differentiation of C++ Algorithms</big></big></b></center>
7979 <br/>
8080 <b><big><a name="Syntax" id="Syntax">Syntax</a></big></b>
8181
121121
122122 current </td><td align='left' valign='top'>
123123 EPL </td><td align='left' valign='top'>
124 <a href="http://www.coin-or.org/download/source/CppAD/cppad-20150000.5.epl.tgz" target="_top"><span style='white-space: nowrap'>cppad-20150000.5.epl.tgz</span></a>
124 <a href="http://www.coin-or.org/download/source/CppAD/cppad-20150000.6.epl.tgz" target="_top"><span style='white-space: nowrap'>cppad-20150000.6.epl.tgz</span></a>
125125
126126 </td></tr><tr><td align='left' valign='top'>
127127
128128 current </td><td align='left' valign='top'>
129129 GPL </td><td align='left' valign='top'>
130 <a href="http://www.coin-or.org/download/source/CppAD/cppad-20150000.5.gpl.tgz" target="_top"><span style='white-space: nowrap'>cppad-20150000.5.gpl.tgz</span></a>
130 <a href="http://www.coin-or.org/download/source/CppAD/cppad-20150000.6.gpl.tgz" target="_top"><span style='white-space: nowrap'>cppad-20150000.6.gpl.tgz</span></a>
131131
132132 </td></tr><tr><td align='left' valign='top'>
133133
0 $Id: doc.omh 3634 2015-02-09 14:09:03Z bradbell $
0 $Id: doc.omh 3639 2015-02-11 02:01:35Z bradbell $
11 /* --------------------------------------------------------------------------
22 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-13 Bradley M. Bell
33
9494
9595 $comment bin/version assumes that : follows cppad version number here$$
9696 $section
97 cppad-20150000.5: A Package for Differentiation of C++ Algorithms
97 cppad-20150000.6: A Package for Differentiation of C++ Algorithms
9898 $$
9999
100100 $comment This comment is used to remove the table below$$
0 $Id: download.omh 3634 2015-02-09 14:09:03Z bradbell $
0 $Id: download.omh 3639 2015-02-11 02:01:35Z bradbell $
11 /* --------------------------------------------------------------------------
22 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-13 Bradley M. Bell
33
6262 $bold version$$ $pre $$ $cnext $bold license$$ $pre $$ $cnext $bold link$$
6363 $rnext
6464 current $cnext EPL $cnext $href%
65 http://www.coin-or.org/download/source/CppAD/cppad-20150000.5.epl.tgz%
66 cppad-20150000.5.epl.tgz%$$
65 http://www.coin-or.org/download/source/CppAD/cppad-20150000.6.epl.tgz%
66 cppad-20150000.6.epl.tgz%$$
6767 $rnext
6868 current $cnext GPL $cnext $href%
69 http://www.coin-or.org/download/source/CppAD/cppad-20150000.5.gpl.tgz%
70 cppad-20150000.5.gpl.tgz%$$
69 http://www.coin-or.org/download/source/CppAD/cppad-20150000.6.gpl.tgz%
70 cppad-20150000.6.gpl.tgz%$$
7171 $rnext
7272 old $cnext Both $cnext
7373 $href%http://www.coin-or.org/download/source/CppAD/%CppAD download page%$$
0 /* $Id: optimize.cpp 3634 2015-02-09 14:09:03Z bradbell $ */
0 /* $Id: optimize.cpp 3639 2015-02-11 02:01:35Z bradbell $ */
11 /* --------------------------------------------------------------------------
22 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-13 Bradley M. Bell
33
544544
545545 return ok;
546546 }
547 bool depend_four(void)
548 { // erf function is a special case for optimize
549 bool ok = true;
550 # if CPPAD_COMPILER_HAS_ERF
551 using CppAD::AD;
552 using CppAD::vector;
553
554 size_t n = 1;
555 size_t m = 1;
556 vector< AD<double> > X(n), Y(m);
557 vector<double> x(n);
558 X[0] = x[0] = double(0.5);
559
560 CppAD::Independent(X);
561
562 Y[0] = erf(X[0]) + erf(X[0]);
563
564 CppAD::ADFun<double> F(X, Y);
565
566 vector<double> y_original = F.Forward(0, x);
567 size_t size_original = F.size_var();
568 F.optimize();
569 // version 20150000 does not remove duplicate erf function calls.
570 ok &= F.size_var() == size_original;
571 vector<double> y = F.Forward(0, x);
572 ok &= CppAD::NearEqual(y[0], y_original[0], 1e-10, 1e-10);
573 # endif
574 return ok;
575 }
547576 // ===================================================================
548577 // Test duplicate operation analysis
549578
16501679 ok &= depend_one();
16511680 ok &= depend_two();
16521681 ok &= depend_three();
1682 ok &= depend_four();
16531683 // check removal of duplicate expressions
16541684 ok &= duplicate_one();
16551685 ok &= duplicate_two();