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}} }@)@
Choosing the CppAD Test Vector Template Class

Purpose
The value cppad_testvector in the cmake command must be one of the following: boost, cppad, eigen, or std. It specifies which type of vector is 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, eigen_prefix must be specified on the cmake command line.
Input File: omh/install/testvector.omh