#NEWLINE# def __init__( self , ctx , f , x0 , **kwargs ) : #NEWLINE# #INDENT# self . ctx = ctx #NEWLINE# if ( len ( x0 ) != 2 ) : #NEWLINE# #INDENT# raise ValueError ( ( 'expected interval of 2 points, got %i' % len ( x0 ) ) ) #NEWLINE# #UNINDENT# self . f = f #NEWLINE# self . a = x0 [ 0 ] #NEWLINE# self . b = ctx [ 1 ]