CppADCodeGen 2.4.3
A C++ Algorithmic Differentiation Package with Source Code Generation
Loading...
Searching...
No Matches
Array Struct Reference

#include <lang_c_atomic_fun.hpp>

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

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.

◆ idx

const unsigned long* Array::idx

Indexes of sparse array (undefined for dense).

Definition at line 42 of file lang_c_atomic_fun.hpp.

◆ 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.

◆ size

unsigned long Array::size

Total array size.

Definition at line 34 of file lang_c_atomic_fun.hpp.

◆ sparse

int Array::sparse

Whether or not it is a sparse array.

Definition at line 38 of file lang_c_atomic_fun.hpp.


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