def __repr__(self):
        """
        Display method
        """
        a, b = self.domain()
        vals = self.values()
        return (
            '%s \n '
            '    domain        length     endpoint values\n '
            ' [%5.1f, %5.1f]     %5d       %5.2f   %5.2f\n '
            'vscale = %1.2e') % (
                str(type(self)).split('.')[-1].split('>')[0][:-1],
                a,b,self.size(),vals[-1],vals[0],self._vscale,)
def __repr__ ( self ) : a , b = self . domain ( ) vals = self . values ( ) return ( '%s \n ' '    domain        length     endpoint values\n ' ' [%5.1f, %5.1f]     %5d       %5.2f   %5.2f\n ' 'vscale = %1.2e' ) % ( str ( type ( self ) ) . split ( '.' ) [ - 1 ] . split ( '>' ) [ 0 ] [ : - 1 ] , a , b , self . size ( ) , vals [ - 1 ] , vals [ 0 ] , self . _vscale , )
Display method