CppADCodeGen
HEAD
A C++ Algorithmic Differentiation Package with Source Code Generation
|
Public Member Functions | |
virtual IndexPatternType | getType () const =0 |
virtual void | getSubIndexes (std::set< IndexPattern *> &indexes) const =0 |
Static Public Member Functions | |
template<class VectorSizeT > | |
static IndexPattern * | detect (const VectorSizeT &x2y) |
static IndexPattern * | detect (const std::map< size_t, size_t > &x2y) |
static bool | isConstant (const IndexPattern &ip) |
Generic index pattern
Definition at line 24 of file index_pattern.hpp.
|
inlinestatic |
Detects the index pattern for the provided points (y = f(x))
indexX | the index of the independents (x) |
x2y | maps the independents to the dependents (indexes[x] = y ) |
Definition at line 22 of file index_pattern_impl.hpp.
Referenced by CppAD::cg::Plane2DIndexPattern::detectPlane2D(), CppAD::cg::LoopModel< Base >::getIndexedTapeIndexes(), CppAD::cg::ModelCSourceGen< Base >::prepareSparseForwardOneWithLoops(), CppAD::cg::ModelCSourceGen< Base >::prepareSparseJacobianRowWithLoops(), and CppAD::cg::ModelCSourceGen< Base >::prepareSparseReverseOneWithLoops().
|
inlinestatic |
Detects the index pattern for the provided points (y = f(x))
indexX | the index of the independents (x) |
x2y | maps the independents to the dependents (x,y) |
Definition at line 38 of file index_pattern_impl.hpp.