(self, argindex=1)
Returns the first derivative of the function.
Returns the first derivative of the function.
Returns the first derivative of the function .
def fdiff(self, argindex=1):
        """
        Returns the first derivative of the function.
        """
        if argindex == 1:
            return 1/self.args[0]
            s = C.Dummy('x')
            return Lambda(s**(-1), s)
        else:
            raise ArgumentIndexError(self, argindex)
def fdiff ( self , argindex = 1 ) : if argindex == 1 : return 1 / self . args [ 0 ] s = C . Dummy ( 'x' ) return Lambda ( s ** ( - 1 ) , s ) else : raise ArgumentIndexError ( self , argindex )