#include <random_2d_index_pattern.hpp>
|
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.
◆ Random2DIndexPattern()
CppAD::cg::Random2DIndexPattern::Random2DIndexPattern |
( |
const std::map< size_t, std::map< size_t, size_t > > & |
x2y2z | ) |
|
|
inline |
◆ 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 |
◆ getName()
const std::string & CppAD::cg::RandomIndexPattern::getName |
( |
| ) |
const |
|
inlineinherited |
◆ getSubIndexes()
void CppAD::cg::RandomIndexPattern::getSubIndexes |
( |
std::set< IndexPattern * > & |
indexes | ) |
const |
|
inlineoverridevirtualinherited |
◆ getType()
IndexPatternType CppAD::cg::Random2DIndexPattern::getType |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getValues()
const std::map< size_t, std::map< size_t, size_t > > & CppAD::cg::Random2DIndexPattern::getValues |
( |
| ) |
const |
|
inline |
◆ isConstant()
bool CppAD::cg::IndexPattern::isConstant |
( |
const IndexPattern & |
ip | ) |
|
|
inlinestaticinherited |
◆ setName()
void CppAD::cg::RandomIndexPattern::setName |
( |
const std::string & |
name | ) |
|
|
inlineinherited |
◆ indexes_
std::map<size_t, std::map<size_t, size_t> > CppAD::cg::Random2DIndexPattern::indexes_ |
|
protected |
◆ name_
std::string CppAD::cg::Random2DIndexPattern::name_ |
|
protected |
The documentation for this class was generated from the following file: