\(\newcommand{\B}[1]{ {\bf #1} }\) \(\newcommand{\R}[1]{ {\rm #1} }\) \(\newcommand{\W}[1]{ \; #1 \; }\)
typedef¶
View page sourceTypes Defined in the CppAD Mixed Namespace¶
Syntax¶
#
include <cppad/mixed/typedef.hpp>
Begin Namespace¶
All the definitions below are made inside the CppAD::mixed namespace;
i.e.,
namespace CppAD { namespace mixed {
Scalar Types¶
a1_double¶
Scalar with one level of AD:
typedef CppAD::AD<double> a1_double;
Vector Types¶
s_vector¶
Vectors with elements of type size_t :
typedef CppAD::vector<size_t> s_vector;
d_vector¶
Vectors with elements of type double :
typedef CppAD::vector<double> d_vector;
a1_vector¶
Vectors with elements of that have one level of AD:
typedef CppAD::vector<a1_double> a1_vector;
Sparse Types¶
sparse_rc¶
Sparsity patterns using index vector of type s_vector :
typedef CppAD::sparse_rc<s_vector> sparse_rc;
d_sparse_rcv¶
Sparse matrices using index vector of type s_vector
and value vectors of type d_vector :
typedef CppAD::sparse_rcv<s_vector, d_vector> d_sparse_rcv;
a1_sparse_rcv¶
Sparse matrices using index vector of type s_vector
and value vectors of type a1_vector :
typedef CppAD::sparse_rcv<s_vector, a1_vector> a1_sparse_rcv;
End Namespace¶
} }