Prev Next cppad_testvector

@(@\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}} }@)@This is cppad-20221105 documentation. Here is a link to its current documentation .
Choosing the CppAD Test Vector Template Class

Syntax
CPPAD_TESTVECTOR(Scalarvec

Example Simple Vector
The value cppad_testvector in the cmake command must be one of the following: boost, cppad, eigen, or std. It specifies which simplevector corresponds to the template class CPPAD_TESTVECTOR which is used for many of the CppAD examples and tests.

std
If cppad_testvector is std , the std::vector template class is used to define CPPAD_TESTVECTOR.

cppad
If cppad_testvector is cppad , the cppad_vector template class is used to define CPPAD_TESTVECTOR.

boost
If cppad_testvector is boost , boost ublas vector template class is used to define CPPAD_TESTVECTOR. In this case, the cmake FindBoost module must be able to automatically figure out where Boost is installed.

eigen
If cppad_testvector is eigen , one of the eigen template classes is used to define CPPAD_TESTVECTOR. In this case, include_eigen must be specified on the cmake command line.
Input File: omh/install/testvector.omh