Class Newton


  • class Newton
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Newton​(Function fun_obj, double eps, int max_iter)  
      Newton​(Function fun_obj, double eps, int max_iter, double eps_cg)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) void newton​(double[] w)  
      private int pcg​(double[] g, double[] M, double[] s, double[] r)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • fun_obj

        private final Function fun_obj
      • eps

        private final double eps
      • max_iter

        private final int max_iter
      • eps_cg

        private final double eps_cg
    • Constructor Detail

      • Newton

        Newton​(Function fun_obj,
               double eps,
               int max_iter)
      • Newton

        Newton​(Function fun_obj,
               double eps,
               int max_iter,
               double eps_cg)
    • Method Detail

      • newton

        void newton​(double[] w)
      • pcg

        private int pcg​(double[] g,
                        double[] M,
                        double[] s,
                        double[] r)