Documentation of 'jsat.math.optimization.GoldenSearch' Java class
GoldenSearch
jsat.math.optimization

Class GoldenSearch



  • public class GoldenSearch
    extends java.lang.Object
    Minimizes a single variate function in the same way that
    • Constructor Summary

      Constructors 
      Constructor and Description
      GoldenSearch() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static double minimize(double eps, int maxIterations, double a, double b, Function1D f)
      Finds the local minimum of the function f.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GoldenSearch

        public GoldenSearch()
    • Method Detail

      • minimize

        public static double minimize(double eps,
                                      int maxIterations,
                                      double a,
                                      double b,
                                      Function1D f)
        Finds the local minimum of the function f.
        Parameters:
        eps - the desired accuracy of the result
        maxIterations - the maximum number of iterations to perform
        a - the left bound on the minimum
        b - the right bound on the minimum
        f - the function to find the minimize of
        Returns:
        the value of variable pos that produces the local minima

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.