ParameterizedFunction
edu.rit.numeric

Interface ParameterizedFunction



  • public interface ParameterizedFunction
    Interface ParameterizedFunction specifies the interface for a real-valued function of a real-valued argument, with additional parameters.
    • Method Summary

      Methods 
      Modifier and TypeMethod and Description
      doublef(double x, double[] p)
      Returns the value of this function evaluated at the given argument, using the given parameters.
      intparameterLength()
      Returns the number of parameters, M.
    • Method Detail

      • parameterLength

        int parameterLength()
        Returns the number of parameters, M.
        Returns:
        Number of parameters.
      • f

        double f(double x,       double[] p)
        Returns the value of this function evaluated at the given argument, using the given parameters.
        Parameters:
        x - Argument.
        p - Array of M parameters.
        Returns:
        f (x, parameters).
        Throws:
        DomainException - (unchecked exception) Thrown if the argument x or any parameter in p is outside the allowed set of values for this function.
        RangeException - (unchecked exception) Thrown if the result is outside the range of type double.

SCaVis 2.1 © jWork.ORG