Continued fraction/Arithmetic: Difference between revisions
Content added Content deleted
m (fix links) |
|||
Line 30: | Line 30: | ||
and a function <math>G(\mathrm{matrix}</math> <math>\mathit{NG}, \mathrm{Number}</math> <math>N_1, \mathrm{Number}</math> <math>N_2)</math> |
and a function <math>G(\mathrm{matrix}</math> <math>\mathit{NG}, \mathrm{Number}</math> <math>N_1, \mathrm{Number}</math> <math>N_2)</math> |
||
which returns: |
which returns: |
||
: <math>\frac{a_{12}\times N_1\times N_2 + a_1\times N_1 + a_2\times N_2 + a}{b_{12}\times N_1\times N_2 + b_1\times N_1 + |
: <math>\frac{a_{12}\times N_1\times N_2 + a_1\times N_1 + a_2\times N_2 + a}{b_{12}\times N_1\times N_2 + b_1\times N_1 + b_2\times N_2 + b}</math> |
||
===Basic identities=== |
===Basic identities=== |