next up previous contents index
suivant: Continued fraction representation of monter: Rationals précédent: Numerator and denominator of   Table des matières   Index


Simplification of a pair of integers : simp2

simp2 takes as argument two integers or a list of two integers which represent a fraction (for two polynomals see 1.28.6).
simp2 returns the list of the numerator and the denominator of an irreducible representant of this fraction (i.e. after simplification).
Input :
simp2(18,15)
Output :
[6,5]
Input :
simp2([42,12])
Output :
[7,2]



giac documentation written by Renée De Graeve and Bernard Parisse