Add free function for calculation of simple continued fraction coefficients#973
Add free function for calculation of simple continued fraction coefficients#973mborland wants to merge 3 commits into
Conversation
|
The CI failure is failed to clone. |
|
It is a way. A possible way is to add constructor If this idea is fine with you, I can implement it, but I will need to use your commits. |
Go ahead. This is on a branch in the boost.math tree so you will be able to clone it. |
I think this solves #971 while keeping the class immutable like @NAThompson wants. Since this header requires C++17 guaranteed copy elision should make passing the data from the class to the user through the free function inexpensive. @Tomaqa I used your use case as the additional test case.