mirror of
https://github.com/boostorg/math.git
synced 2026-01-27 19:12:08 +00:00
Demonstrate that matched Holder interpolation does indeed have higher accuracy and that the exponent should be reduced a bit [CI SKIP]
This commit is contained in:
@@ -102,7 +102,7 @@ public:
|
||||
// It's only exactly right at dyadic rationals.
|
||||
//Real constexpr const alpha = 2 - log(1+sqrt(Real(3)))/log(Real(2));
|
||||
// So we're gonna make the graph dip a little harder; this will capture more of the self-similar behavior:
|
||||
Real constexpr const alpha = 0.35;
|
||||
Real constexpr const alpha = 0.3;
|
||||
int64_t i = static_cast<int64_t>(std::floor(x/h_));
|
||||
Real t = (x- i*h_)/h_;
|
||||
Real v = y_[i];
|
||||
|
||||
Reference in New Issue
Block a user