refactor: tweak ContinuedFraction.convergent
method to pass in the full sequence of elements
#36
Labels
ContinuedFraction.convergent
method to pass in the full sequence of elements
#36
ATM the
continuedfraction.ContinuedFraction.convergent
method calls thelib.convergent
method with thek
-th segment (CF with the firstk + 1
elements of the original).As the
k
-th convergent is uniquely determined by thek
-th segment this works fine, but by designlib.convergent
should be given the full sequence of elements of the original.The text was updated successfully, but these errors were encountered: