Interface IGradientDescendableFunction


  • public interface IGradientDescendableFunction
    This interface represents a function that is differentiable and thus can be used by gradient descent algorithms. In particular, if a function implements this interface, we assume that the underlying space is convex.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double apply​(org.api4.java.common.math.IVector vector)
      Applies the function for the point represented by the given vector.
    • Method Detail

      • apply

        double apply​(org.api4.java.common.math.IVector vector)
        Applies the function for the point represented by the given vector.
        Parameters:
        vector - the point to which to apply the function
        Returns:
        the function value at the applied point