def configure(self, x0, axis):
self.x0 = x0<EOL>self.axis = axis<EOL>
Configure the 1D function for a line search

           Arguments:
             x0  --  the reference point (q=0)
             axis  --  a unit vector in the direction of the line search