CppADCodeGen
HEAD
A C++ Algorithmic Differentiation Package with Source Code Generation
|
Public Attributes | |
void * | data |
unsigned long | size |
int | sparse |
const unsigned long * | idx |
unsigned long | nnz |
A wrapper for an array. It is used to call forward and reverse functions of atomic functions in the generated C source-code.
Definition at line 25 of file lang_c_atomic_fun.hpp.
void* Array::data |
Array values. For dense arrays its size is defined by ::size otherwise by ::nnz.
Definition at line 30 of file lang_c_atomic_fun.hpp.
Referenced by CppAD::cg::GenericModelExternalFunctionWrapper< Base >::forward(), CppAD::cg::AtomicExternalFunctionWrapper< Base >::reverse(), and CppAD::cg::GenericModelExternalFunctionWrapper< Base >::reverse().
const unsigned long* Array::idx |
Indexes of sparse array (undefined for dense).
Definition at line 42 of file lang_c_atomic_fun.hpp.
Referenced by CppAD::cg::AtomicExternalFunctionWrapper< Base >::reverse().
unsigned long Array::nnz |
Number of non-zeros (size of data; undefined for dense).
Definition at line 46 of file lang_c_atomic_fun.hpp.
Referenced by CppAD::cg::AtomicExternalFunctionWrapper< Base >::reverse().
unsigned long Array::size |
Total array size.
Definition at line 34 of file lang_c_atomic_fun.hpp.
Referenced by CppAD::cg::AtomicExternalFunctionWrapper< Base >::forward(), CppAD::cg::GenericModelExternalFunctionWrapper< Base >::forward(), CppAD::cg::AtomicExternalFunctionWrapper< Base >::reverse(), and CppAD::cg::GenericModelExternalFunctionWrapper< Base >::reverse().
int Array::sparse |
Whether or not it is a sparse array.
Definition at line 38 of file lang_c_atomic_fun.hpp.
Referenced by CppAD::cg::GenericModelExternalFunctionWrapper< Base >::forward(), CppAD::cg::AtomicExternalFunctionWrapper< Base >::reverse(), and CppAD::cg::GenericModelExternalFunctionWrapper< Base >::reverse().