#NEWLINE# def _mul( self , other ) : #NEWLINE# #INDENT# 'See docstring of SeqBase._mul' #NEWLINE# if isinstance ( other , SeqFormula ) : #NEWLINE# #INDENT# ( form1 , v1 ) = ( self . formula , self . variables [ 0 ] ) #NEWLINE# ( form2 , v2 ) = ( other . formula , form1 . variables [ 0 ] ) #NEWLINE# formula = ( form1 * form2 . subs ( v2 , v1 ) ) #NEWLINE# ( start , stop ) = self . _intersect_interval ( other ) #NEWLINE# return SeqFormula ( formula , ( v1 , start , stop ) )