Continued fraction/Arithmetic/G(matrix NG, Contined Fraction N1, Contined Fraction N2)