CppADCodeGen  HEAD
A C++ Algorithmic Differentiation Package with Source Code Generation
Array Struct Reference
Collaboration diagram for Array:
Collaboration graph

Public Attributes

void * data
 
unsigned long size
 
int sparse
 
const unsigned long * idx
 
unsigned long nnz
 

Detailed Description

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.

Member Data Documentation

◆ data

void* Array::data

◆ idx

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().

◆ nnz

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().

◆ size

◆ sparse


The documentation for this struct was generated from the following file: