Continuous fractions in CAS
|
03-04-2021, 05:06 PM
(This post was last modified: 03-04-2021 05:13 PM by Albert Chan.)
Post: #9
|
|||
|
|||
RE: Continuous fractions in CAS
(09-24-2020 06:19 PM)Albert Chan Wrote: From giac source, I learned a nice trick to estimate continued fraction convergent error. Let y[i] = [a[i]; a[i+1], a[i+2], ..., a[n] + x]. This is the effect of dropping x of y[0]: \( \displaystyle ε = |y_0 - [a_0;a_1,a_2,\;...,\;a_n] | ≈ \left| {y_1 - [a_1;a_2,a_3,\;...,\;a_n] \over y_1^2 } \right| ≈\;...\;≈ {x \over y_1^2\;y_2^2 \;...\;y_n^2}\) Flip RHS denominator to LHS, we have rough estimate of when to stop generating CF coefficients. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Continuous fractions in CAS - pinkman - 09-23-2020, 11:22 AM
RE: Continuous fractions in CAS - roadrunner - 09-23-2020, 11:33 AM
RE: Continuous fractions in CAS - pinkman - 09-23-2020, 09:28 PM
RE: Continuous fractions in CAS - Albert Chan - 09-23-2020, 02:04 PM
RE: Continuous fractions in CAS - pinkman - 09-23-2020, 10:05 PM
RE: Continuous fractions in CAS - Joe Horn - 09-24-2020, 01:12 AM
RE: Continuous fractions in CAS - pinkman - 09-24-2020, 07:14 AM
RE: Continuous fractions in CAS - Han - 03-05-2021, 01:38 AM
RE: Continuous fractions in CAS - Albert Chan - 09-24-2020, 06:19 PM
RE: Continuous fractions in CAS - Albert Chan - 03-04-2021 05:06 PM
|
User(s) browsing this thread: 2 Guest(s)