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: 13,253 of 184,752
Downloads: 148,871
Daily
Ranking: 17,317 of 184,744
Downloads: 11
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 |
---|---|---|
10 | 1,023,729,808 | rake |
203 | 190,708,757 | rdoc |
1,697 | 16,164,980 | rake-compiler |
3,691 | 2,597,808 | rcov |
Owners
# | Gravatar | Handle |
---|---|---|
1 | valodzka |