Documentation of 'edu.rit.numeric.MDFunction' Java class
MDFunction
edu.rit.numeric

Interface MDFunction



  • public interface MDFunction
    Interface MDFunction specifies the interface for a function whose argument is a vector of real values and whose result is a real value; a multidimensional function.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      int argumentLength()
      Returns the length of the argument vector, N.
      double f(double[] x)
      Evaluate this function with the given argument vector.
    • Method Detail

      • argumentLength

        int argumentLength()
        Returns the length of the argument vector, N.
        Returns:
        N.
      • f

        double f(double[] x)
        Evaluate this function with the given argument vector.
        Parameters:
        x - Argument vector. Must be an N-element array.
        Returns:
        Function value at x.
        Throws:
        DomainException - (unchecked exception) Thrown if any argument in x is outside the allowed set of values for this function.
        RangeException - (unchecked exception) Thrown if the function value is outside the range of type double.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.