You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -47,6 +56,35 @@ This is because when examining known values like π, it creates a large number o
47
56
It may be the case the a few incorrect partial convergents is harmless, but we compute continued fractions because we would like to do something with them.
48
57
One sensible thing to do it to ask whether the number is in some sense "random"; a question that can be partially answered by computing the Khinchin geometric mean
49
58
59
+
If you only require the coefficients of the simple continued fraction for example in the calculation of [@https://en.wikipedia.org/wiki/Continued_fraction#Best_rational_approximations best rational approximations] there is a free function for that.
60
+
61
+
An example of this calculation follows:
62
+
63
+
using boost::math::tools::simple_continued_fraction_coefficients;
0 commit comments