\(\newcommand{\B}[1]{ {\bf #1} }\) \(\newcommand{\R}[1]{ {\rm #1} }\)
vector¶
View page sourceThe cmpad Vector Template Type¶
Syntax¶
# include <cmpad/vector.hpp>cmpad::vector < Scalar > vecScalar¶
is the type of the elements of vec .
vec¶
is a cmpad vector.
std¶
If -D cmpad_vector=std
is specified on the cmake command line,
then cmpad::vector is std::vector .
cppad¶
If -D cmpad_vector=cppad
is specified on the cmake command line,
then cmpad::vector is CppAD::vector .