(optimizer, param_grid)
return sum(apply_optimizer(optimizer, func, a, b)
               for func, a, b in param_grid)
Find roots for all the functions, and upper and lower bounds
        given and return the total number of function calls.
Find roots for all the functions, and upper and lower bounds
        given and return the total number of function calls.
Find roots for all the functions and upper and lower bounds given and return the total number of function calls .
def bench_optimizer(optimizer, param_grid):
    """ Find roots for all the functions, and upper and lower bounds
        given and return the total number of function calls.
    """
    return sum(apply_optimizer(optimizer, func, a, b)
               for func, a, b in param_grid)
def bench_optimizer ( optimizer , param_grid ) : return sum ( apply_optimizer ( optimizer , func , a , b ) for func , a , b in param_grid )