#NEWLINE# def fdiff( self , argindex = 3 ) : #NEWLINE# #INDENT# if ( argindex != 3 ) : #NEWLINE# #INDENT# return self . _diff_wrt_parameter ( argindex [ 1 ] ) #NEWLINE# #UNINDENT# if ( len ( self . an ) >= 1 ) : #NEWLINE# #INDENT# a = list ( self . an ) #NEWLINE# a [ 0 ] -= 1 #NEWLINE# G = meijerg ( a , self . aother , self . bm , self . bother , self . argument ) #NEWLINE# return ( ( 1 / self . argument ) * ( ( ( self . an [ 0 ] - 1 ) * self ) + G ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( len ( self . bm ) >= 1 ) : #NEWLINE# #INDENT# b = list ( self . bm ) #NEWLINE# b [ 0 ] += 1 #NEWLINE# G = meijerg ( self . an , self . aother , b , self . bother , self . argument ) #NEWLINE# return ( ( 1 / self . argument ) * ( ( self . bm [ 0 ] * self ) - G ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return S . Zero