#include <sectioned_index_pattern.hpp>
Several linear patterns
Definition at line 25 of file sectioned_index_pattern.hpp.
◆ SectionedIndexPattern()
CppAD::cg::SectionedIndexPattern::SectionedIndexPattern |
( |
const std::map< size_t, IndexPattern * > & |
sections | ) |
|
|
inline |
◆ ~SectionedIndexPattern()
virtual CppAD::cg::SectionedIndexPattern::~SectionedIndexPattern |
( |
| ) |
|
|
inlinevirtual |
◆ detect() [1/2]
IndexPattern * CppAD::cg::IndexPattern::detect |
( |
const std::map< size_t, size_t > & |
x2y | ) |
|
|
inlinestaticinherited |
Detects the index pattern for the provided points (y = f(x))
- Parameters
-
indexX | the index of the independents (x) |
x2y | maps the independents to the dependents (x,y) |
- Returns
- the generated index pattern (must be deleted by user)
Definition at line 38 of file index_pattern_impl.hpp.
◆ detect() [2/2]
template<class VectorSizeT >
IndexPattern * CppAD::cg::IndexPattern::detect |
( |
const VectorSizeT & |
x2y | ) |
|
|
inlinestaticinherited |
◆ detectLinearSections() [1/2]
static std::map< size_t, IndexPattern * > CppAD::cg::SectionedIndexPattern::detectLinearSections |
( |
const std::map< size_t, size_t > & |
x2y, |
|
|
size_t |
maxCount = 0 |
|
) |
| |
|
inlinestatic |
◆ detectLinearSections() [2/2]
template<class VectorSizeT >
static std::map< size_t, IndexPattern * > CppAD::cg::SectionedIndexPattern::detectLinearSections |
( |
const VectorSizeT & |
indexes, |
|
|
size_t |
maxCount = 0 |
|
) |
| |
|
inlinestatic |
◆ getLinearSections()
const std::map< size_t, IndexPattern * > & CppAD::cg::SectionedIndexPattern::getLinearSections |
( |
| ) |
const |
|
inline |
◆ getSubIndexes()
void CppAD::cg::SectionedIndexPattern::getSubIndexes |
( |
std::set< IndexPattern * > & |
indexes | ) |
const |
|
inlineoverridevirtual |
◆ getType()
IndexPatternType CppAD::cg::SectionedIndexPattern::getType |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ isConstant()
bool CppAD::cg::IndexPattern::isConstant |
( |
const IndexPattern & |
ip | ) |
|
|
inlinestaticinherited |
◆ sections_
std::map<size_t, IndexPattern*> CppAD::cg::SectionedIndexPattern::sections_ |
|
protected |
The documentation for this class was generated from the following file: