Categories: None [Edit]
frac
Find rational approximation to given real number. Based on the theory of continued fractions if x = a1 + 1/(a2 + 1/(a3 + 1/(a4 + ...))) then best approximation is found by truncating this series (with some adjustments in the last term). Note the fraction can be recovered as the first column of the matrix ( a1 1 ) ( a2 1 ) ( a3 1 ) ... ( 1 0 ) ( 1 0 ) ( 1 0 ) Instead of keeping the sequence of continued fraction terms, we just keep the last partial product of these matrices.
Total
Ranking: 14,033 of 190,365
Downloads: 153,837
Daily
Ranking: 77,133 of 190,317
Downloads: 1
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 8 | 1,256,317,454 | rake |
| 172 | 281,711,329 | rdoc |
| 1,520 | 25,694,602 | rake-compiler |
| 3,602 | 3,345,065 | rcov |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | valodzka |