Continued fraction/Arithmetic/G(matrix ng, continued fraction n1, continued fraction n2): Difference between revisions

m
Line 6,237:
let (ng1, x1, y1) = absorb_y_term ng x y in
apply_ng8 ng1 x1 y1)
 
-- then (absorb_x_term(NG, NG1, X, X1, Y, Y1),
-- CF = apply_ng8(NG1, X1, Y1))
-- else (absorb_y_term(NG, NG1, X, X1, Y, Y1),
-- CF = apply_ng8(NG1, X1, Y1)))
-- ))
-- )).
 
absorb_x_term
1,448

edits