4 ms·
What is the rationale for liking rational functions? Years ago i had some interpolation to do, and used the barycentric rational from Boost [1]. The resulting
by twic 5y ago
What is the rationale for liking rational functions?
Years ago i had some interpolation to do, and used the barycentric rational from Boost [1]. The resulting curve was all over the place. A natural cubic spline gave a much more subjectively sensible-looking fit.
[1] https://www.boost.org/doc/libs/1_77_0/libs/math/doc/html/math_toolkit/barycentric.html https://www.boost.org/doc/libs/1_77_0/libs/math/doc/html/mat...
- jacobolus 5y agoWithout knowing a lot more about the context and what precisely you did, it’s impossible to comment about your negative experience. > What is the rationale for liking rational functions? They are cheap to evaluate, (relatively) easy to prove things about symbolically, and will efficiently approximate any reasonably smooth function.