System.out.println("weights:\t" + results.getFitParameters());
for (int i = 0; i < 101; i++) {
final double logX = -5 + 8 * i / 100.;
final double x = Math.exp(logX);
System.out.println(x + "\t" + +logX + "\t" + spline.evaluate(x) + "\t" + interpolator.interpolate(db, x) + "\t"
+ splineLog.evaluate(logX) + "\t" + interpolator.interpolate(dbLog, logX) + "\t" + splineVar.evaluate(x) + "\t"
+ interpolator.interpolate(dbVar, x) + "\t" + splineVarLog.evaluate(logX) + "\t" + interpolator.interpolate(dbVarLog, logX));
}
for (int i = 0; i < n; i++) {
System.out.println(lnX[i] + "\t" + yData[i]);