\( f(x) = \sum_{i=0}^{M-1} c_{i} x^i \)
More...
|
| | Horner1d () |
| | Initialize 1 coefficient to 1.
|
| |
| | Horner1d (const std::vector< double > &c) |
| | Initialize coefficients and dimensions.
|
| |
| double | operator() (double x) const |
| |
\( f(x) = \sum_{i=0}^{M-1} c_{i} x^i \)
Evaluated using Horner's method
◆ Horner1d() [1/2]
| dg::Horner1d::Horner1d |
( |
| ) |
|
|
inline |
Initialize 1 coefficient to 1.
◆ Horner1d() [2/2]
| dg::Horner1d::Horner1d |
( |
const std::vector< double > & | c | ) |
|
|
inline |
Initialize coefficients and dimensions.
- Parameters
-
| c | vector of size M containing coefficients c |
◆ operator()()
| double dg::Horner1d::operator() |
( |
double | x | ) |
const |
|
inline |
The documentation for this struct was generated from the following file: