// Test Dbrent
System.out.println("Testing Dbrent");
Funcd_Dbrent funcd = new Funcd_Dbrent();
Dbrent dbr = new Dbrent();
for (i=0;i<N;i++) {
a=i;
b=a+span;
dbr.bracket(a,b,funcd);
min=dbr.minimize(funcd); // Minimum of bessj0
localflag = localflag || (abs(funcd.df(min)) > sbeps);
}
globalflag = globalflag || localflag;
if (localflag) {