#NEWLINE# def dmp_inner_subresultants( self , f , g ) : #NEWLINE# #INDENT# ( prs , sres ) = dmp_inner_subresultants ( self . to_dense ( f ) , self . to_dense ( g ) , ( f . ngens - 1 ) , self . domain ) #NEWLINE# return ( list ( map ( self . from_dense , prs ) ) , sres )