CppADCodeGen 2.4.3
A C++ Algorithmic Differentiation Package with Source Code Generation
|
#include <random_2d_index_pattern.hpp>
Public Member Functions | |
Random2DIndexPattern (const std::map< size_t, std::map< size_t, size_t > > &x2y2z) | |
IndexPatternType | getType () const override |
const std::map< size_t, std::map< size_t, size_t > > & | getValues () const |
void | getSubIndexes (std::set< IndexPattern * > &indexes) const override |
const std::string & | getName () const |
void | setName (const std::string &name) |
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) |
Protected Attributes | |
std::map< size_t, std::map< size_t, size_t > > | indexes_ |
std::string | name_ |
Random pattern using two indexes
Definition at line 25 of file random_2d_index_pattern.hpp.
|
inline |
Definition at line 31 of file random_2d_index_pattern.hpp.
|
inlinestaticinherited |
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.
|
inlinestaticinherited |
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::ModelCSourceGen< Base >::prepareSparseForwardOneWithLoops(), CppAD::cg::ModelCSourceGen< Base >::prepareSparseReverseOneWithLoops(), and CppAD::cg::ModelCSourceGen< Base >::prepareSparseReverseTwoWithLoops().
|
inlineinherited |
Definition at line 34 of file random_index_pattern.hpp.
|
inlineoverridevirtualinherited |
Implements CppAD::cg::IndexPattern.
Definition at line 30 of file random_index_pattern.hpp.
|
inlineoverridevirtual |
Implements CppAD::cg::IndexPattern.
Definition at line 38 of file random_2d_index_pattern.hpp.
|
inline |
Definition at line 42 of file random_2d_index_pattern.hpp.
|
inlinestaticinherited |
Definition at line 53 of file index_pattern_impl.hpp.
Definition at line 38 of file random_index_pattern.hpp.
Definition at line 27 of file random_2d_index_pattern.hpp.
|
protected |
Definition at line 28 of file random_2d_index_pattern.hpp.