#NEWLINE# def dmp_ff_prs_gcd( self , f , g ) : #NEWLINE# #INDENT# ( H , F , G ) = dmp_ff_prs_gcd ( self . to_dense ( f ) , self . to_dense ( g ) , ( self . ngens - 1 ) , self . domain ) #NEWLINE# return ( self . from_dense ( H ) , self . from_dense ( F ) , self . from_dense ( G ) )