List of usage examples for org.apache.commons.math3.fitting.leastsquares GaussNewtonOptimizer GaussNewtonOptimizer
public GaussNewtonOptimizer()
From source file:uk.ac.diamond.scisoft.analysis.optimize.ApacheOptimizer.java
private LeastSquaresOptimizer createLeastSquaresOptimizer() { switch (optimizer) { case GAUSS_NEWTON: return new GaussNewtonOptimizer(); case LEVENBERG_MARQUARDT: return new LevenbergMarquardtOptimizer(); default:/*from w w w . j a va 2 s . c o m*/ throw new IllegalStateException("Should not be called"); } }