CppADCodeGen  HEAD
A C++ Algorithmic Differentiation Package with Source Code Generation
CppAD::cg::BaseAbstractAtomicFun< Base > Class Template Reference
Inheritance diagram for CppAD::cg::BaseAbstractAtomicFun< Base >:
Inheritance graph
Collaboration diagram for CppAD::cg::BaseAbstractAtomicFun< Base >:
Collaboration graph

Public Types

using CGB = CppAD::cg::CG< Base >
 
using Arg = Argument< Base >
 

Public Member Functions

template<class ADVector >
void operator() (const ADVector &ax, ADVector &ay, size_t id=0)
 

Protected Member Functions

 BaseAbstractAtomicFun (const std::string &name)
 

Static Protected Member Functions

static void appendAsArguments (typename std::vector< Arg >::iterator begin, const CppAD::vector< CGB > &tx)
 
static OperationNode< Base > * makeArray (CodeHandler< Base > &handler, const CppAD::vector< CGB > &tx)
 
static OperationNode< Base > * makeArray (CodeHandler< Base > &handler, const CppAD::vector< CGB > &tx, size_t p, size_t k)
 
static OperationNode< Base > * makeZeroArray (CodeHandler< Base > &handler, size_t size)
 
static OperationNode< Base > * makeEmptySparseArray (CodeHandler< Base > &handler, size_t size)
 
static OperationNode< Base > * makeSparseArray (CodeHandler< Base > &handler, const CppAD::vector< CGB > &py, size_t p, size_t k)
 
static bool isParameters (const CppAD::vector< CGB > &tx)
 
static bool isValuesDefined (const CppAD::vector< CGB > &tx)
 

Detailed Description

template<class Base>
class CppAD::cg::BaseAbstractAtomicFun< Base >

Contains some utility methods for atomic functions for the type CG

Author
Joao Leal

Definition at line 28 of file base_abstract_atomic_fun.hpp.

Constructor & Destructor Documentation

◆ BaseAbstractAtomicFun()

template<class Base >
CppAD::cg::BaseAbstractAtomicFun< Base >::BaseAbstractAtomicFun ( const std::string &  name)
inlineexplicitprotected

Creates a new atomic function that is responsible for defining the dependencies to calls of a user atomic function.

Parameters
nameThe atomic function name.

Definition at line 40 of file base_abstract_atomic_fun.hpp.


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