Prev Next 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 .
Using The CppAD Test Vector Template Class

Syntax
CPPAD_TESTVECTOR(Scalar)

Choice
The user can choose, during the install procedure, which template class to use in the examples and tests; see below. This shows that any simple vector class can be used in place of
    CPPAD_TESTVECTOR(
Type)
When writing their own code, users can choose a specific simple vector they prefer; for example,
    CppAD::vector<
Type>

CppAD::vector
If in the cmake command you specify cppad_testvector to be cppad,
# define CPPAD_TESTVECTOR(
Scalar) CppAD::vector< Scalar >

CPPAD_CPPADVECTOR, Deprecated 2022-06-22
This symbol is 1 (0) if the definition above is used (is not used) for CPPAD_TESTVECTOR.

std::vector
If in the cmake command you specify cppad_testvector to be std,
# define CPPAD_TESTVECTOR(
Scalar) std::vector< Scalar >

CPPAD_STDVECTOR, Deprecated 2022-06-22
This symbol is 1 (0) if the definition above is used (is not used) for CPPAD_TESTVECTOR.

boost::numeric::ublas::vector
If in the cmake command you specify cppad_testvector to be boost,
# define CPPAD_TESTVECTOR(
Scalar) boost::numeric::ublas::vector< Scalar >

CPPAD_BOOSTVECTOR, Deprecated 2022-06-22
This symbol is 1 (0) if the definition above is used (is not used) for CPPAD_TESTVECTOR.

CppAD::eigen_vector
If in the cmake command you specify cppad_testvector to be eigen,
# define CPPAD_TESTVECTOR(
Scalar) CppAD::eigen_vector< Scalar >
see eigen_vector . In this case CppAD will use the Eigen vector for many of its examples and tests.

CPPAD_EIGENVECTOR, Deprecated 2022-06-22
This symbol is 1 (0) if the definition above is used (is not used) for CPPAD_TESTVECTOR.
Input File: include/cppad/core/testvector.hpp