List of usage examples for org.apache.commons.math.analysis UnivariateRealFunction interface-usage
From source file uk.ac.diamond.scisoft.analysis.fitting.AngleDerivativeFunction.java
/** * Function used by an optimizer to find the closest point on an ellipse to a given point. * The ellipse is centred on the origin. */ class AngleDerivativeFunction implements UnivariateRealFunction { double ra, rb; // major and minor semi-axes