|
| LinearIndexPattern (long xOffset, long dy, long dx, long b) |
|
long | getXOffset () const |
|
long | getLinearSlopeDy () const |
|
void | setLinearSlopeDy (long dy) |
|
long | getLinearSlopeDx () const |
|
long | getLinearConstantTerm () const |
|
void | setLinearConstantTerm (long b) |
|
IndexPatternType | getType () const override |
|
void | getSubIndexes (std::set< IndexPattern *> &indexes) const override |
|
long | evaluate (long x) const |
|
|
long | xOffset_ |
|
long | dy_ |
|
long | dx_ |
|
long | b_ |
|
Linear pattern y = ((x - offset) / dx) * dy + b
Definition at line 25 of file linear_index_pattern.hpp.
◆ detect() [1/2]
template<class VectorSizeT >
IndexPattern * CppAD::cg::IndexPattern::detect |
( |
const VectorSizeT & |
x2y | ) |
|
|
inlinestaticinherited |
◆ detect() [2/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.
The documentation for this class was generated from the following file: