Documentation of 'ij.measure.UserFunction' Java class
UserFunction
ij.measure

Interface UserFunction

  • All Known Implementing Classes:
    CurveFitter


    public interface UserFunction
    A plugin should implement this interface for minimizing a single-valued function or fitting a curve with a custom fit function.
    • Method Detail

      • userFunction

        double userFunction(double[] params,
                            double x)
        A user-supplied function
        Parameters:
        params - When minimizing, array of variables. For curve fit array of fit parameters. The array contents should not be modified. Note that the function can get an array with more elements then needed to specify the parameters. Ignore the rest (and don't modify them).
        x - For a fit function, the independent variable of the function. Ignore it when using the minimizer.
        Returns:
        The result of the function.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.