Class Util

  • java.lang.Object
    • samer.maths.opt.Util


  • public class Util
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor and Description
      Util() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static boolean between(double b, double u, double c) 
      static double clip(double lower, double t, double upper) 
      static double cubici(double f1, double g1, double f2, double g2, double lambda) 
      static int find(int i, int[] A, int n) 
      static double maxabs(double[] x) 
      static double unzero(double x, double tol) 
      • Methods inherited from class java.lang.Object

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

      • Util

        public Util()
    • Method Detail

      • maxabs

        public static double maxabs(double[] x)
      • unzero

        public static double unzero(double x,
                                    double tol)
      • between

        public static boolean between(double b,
                                      double u,
                                      double c)
      • clip

        public static double clip(double lower,
                                  double t,
                                  double upper)
      • cubici

        public static double cubici(double f1,
                                    double g1,
                                    double f2,
                                    double g2,
                                    double lambda)
      • find

        public static int find(int i,
                               int[] A,
                               int n)