|
using | CGBase = CG< Base > |
|
template<class Base>
class CppAD::cg::DependentPatternMatcher< Base >
Finds common patterns in operation graphs
Definition at line 51 of file dependent_pattern_matcher.hpp.
◆ DependentPatternMatcher()
Creates a new DependentPatternMatcher
- Parameters
-
relatedDepCandidates | Groups of dependent variable indexes that are believed to have the same expression pattern. |
dependents | The dependent variable values |
independents | The independent variable values |
Definition at line 113 of file dependent_pattern_matcher.hpp.
◆ generateTapes()
Detects common equation patterns and generates a new tape for the model using loops. This method should only be called once!
- Parameters
-
nonLoopTape | The new tape without the loops or nullptr if there are no non-indexed expressions in the model |
loopTapes | The models for each loop (must be deleted by the user) |
Definition at line 148 of file dependent_pattern_matcher.hpp.
The documentation for this class was generated from the following files:
- /local/robotpkg/var/tmp/robotpkg/wip/cppadcodegen/work/CppADCodeGen-2.4.3/include/cppad/cg/declare_cg.hpp
- /local/robotpkg/var/tmp/robotpkg/wip/cppadcodegen/work/CppADCodeGen-2.4.3/include/cppad/cg/patterns/dependent_pattern_matcher.hpp