public BrentSearch(Func<double, double> function, double a, double b) { this.Function = function; this.LowerBound = a; this.UpperBound = b; this.Tolerance = 1e-6; }