Prev | Next |
One section per web page | All sections in one web page | |
(fast to load) | (slow to load) | |
Math displayed using MathJax |
cppad.htm
| _printable.htm |
Math displayed using MathML |
cppad.xml
| _printable.xml |
# include <cppad/cppad.hpp>
# include <cppad/cppad.hpp>
includes the CppAD package for the rest of the current compilation unit.
CppAD
or CPPAD_
.
CppAD
namespace; for example, you can access the AD
types as
size_t n = 2;
CppAD::vector< CppAD::AD<
Base> >
x(
n)
You can abbreviate access to one object or function a using
command of the form
using CppAD::AD
CppAD::vector< AD<
Base> >
x(
n)
You can abbreviate access to all CppAD objects and functions
with a command of the form
using namespace CppAD
vector< AD<
Base> >
x(
n)
If you include other namespaces in a similar manner,
this can cause naming conflicts.
_contents | Table of Contents |
Install | CppAD Download, Test, and Install Instructions |
Introduction | An Introduction by Example to Algorithmic Differentiation |
AD | AD Objects |
ADFun | ADFun Objects |
preprocessor | CppAD API Preprocessor Symbols |
multi_thread | Using CppAD in a Multi-Threading Environment |
utility | Some General Purpose Utilities |
ipopt_solve | Use Ipopt to Solve a Nonlinear Programming Problem |
Example | Examples |
speed | Speed Test an Operator Overloading AD Package |
Appendix | Appendix |
_reference | Alphabetic Listing of Cross Reference Tags |
_index | Keyword Index |
_search | Search This Web Site |
_external | External Internet References |