Choosing the CppAD Test Vector Template Class
Keywords: choosing the cppad test vector template class purpose std boost eigen

| Prev | Next |  |  |  |  |  | cppad_testvector |

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