Package interfaces

Interface Function

All Known Implementing Classes:
LineColumnMatrix

public interface Function
Interface for realisation of R^m function, where m more or equal 2
  • Method Summary

    Modifier and Type Method Description
    double[] multiply​(double[] x)
    function that compute (A * x)
    double run​(double[] x)
    Compute the function meaning in the point given like vector
    double[] runGradient​(double[] x)
    Compute gradient of the function in given point
  • Method Details

    • run

      double run​(double[] x)
      Compute the function meaning in the point given like vector
      Parameters:
      x - vector that represent point
      Returns:
      meaning of function like f(x)
    • runGradient

      double[] runGradient​(double[] x)
      Compute gradient of the function in given point
      Parameters:
      x - vector that represent point
      Returns:
      vector that represent gradient of the function
    • multiply

      double[] multiply​(double[] x)
      function that compute (A * x)
      Parameters:
      x - point for multiply
      Returns:
      result of computing (A * x)