Example usage for org.apache.commons.math.analysis UnivariateRealFunction interface-usage

List of usage examples for org.apache.commons.math.analysis UnivariateRealFunction interface-usage

Introduction

In this page you can find the example usage for org.apache.commons.math.analysis UnivariateRealFunction interface-usage.

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