Class FillMatchingDual

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int THRESHOLD
      2013-10-22: Was set to 128 (based on calibration) but I saw a dip in relative performance (java matrix benchmark) at size 200.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void fillAll​(double[][] target, double value)  
      static void fillAll​(double[][] target, java.util.function.DoubleSupplier supplier)  
      static void fillColumn​(double[][] target, int row, int col, double value)  
      static void fillColumn​(double[][] target, int row, int col, java.util.function.DoubleSupplier supplier)  
      static void fillDiagonal​(double[][] target, int row, int col, double value)  
      static void fillDiagonal​(double[][] target, int row, int col, java.util.function.DoubleSupplier supplier)  
      static void fillMatching​(double[][] target, double[][] left, java.util.function.DoubleBinaryOperator function, double right)  
      static void fillMatching​(double[][] target, double[][] left, java.util.function.DoubleBinaryOperator function, double[][] right)  
      static void fillMatching​(double[][] target, double left, java.util.function.DoubleBinaryOperator function, double[][] right)  
      static void fillRange​(double[][] target, int first, int limit, double value)  
      static void fillRange​(double[][] target, int first, int limit, java.util.function.DoubleSupplier supplier)  
      static void fillRow​(double[][] target, int row, int col, double value)  
      static void fillRow​(double[][] target, int row, int col, java.util.function.DoubleSupplier supplier)  
      • Methods inherited from class java.lang.Object

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

      • THRESHOLD

        public static int THRESHOLD
        2013-10-22: Was set to 128 (based on calibration) but I saw a dip in relative performance (java matrix benchmark) at size 200. So I cahnged it to 256.
    • Constructor Detail

      • FillMatchingDual

        public FillMatchingDual()
    • Method Detail

      • fillAll

        public static void fillAll​(double[][] target,
                                   double value)
      • fillAll

        public static void fillAll​(double[][] target,
                                   java.util.function.DoubleSupplier supplier)
      • fillColumn

        public static void fillColumn​(double[][] target,
                                      int row,
                                      int col,
                                      double value)
      • fillColumn

        public static void fillColumn​(double[][] target,
                                      int row,
                                      int col,
                                      java.util.function.DoubleSupplier supplier)
      • fillDiagonal

        public static void fillDiagonal​(double[][] target,
                                        int row,
                                        int col,
                                        double value)
      • fillDiagonal

        public static void fillDiagonal​(double[][] target,
                                        int row,
                                        int col,
                                        java.util.function.DoubleSupplier supplier)
      • fillMatching

        public static void fillMatching​(double[][] target,
                                        double left,
                                        java.util.function.DoubleBinaryOperator function,
                                        double[][] right)
      • fillMatching

        public static void fillMatching​(double[][] target,
                                        double[][] left,
                                        java.util.function.DoubleBinaryOperator function,
                                        double right)
      • fillMatching

        public static void fillMatching​(double[][] target,
                                        double[][] left,
                                        java.util.function.DoubleBinaryOperator function,
                                        double[][] right)
      • fillRange

        public static void fillRange​(double[][] target,
                                     int first,
                                     int limit,
                                     double value)
      • fillRange

        public static void fillRange​(double[][] target,
                                     int first,
                                     int limit,
                                     java.util.function.DoubleSupplier supplier)
      • fillRow

        public static void fillRow​(double[][] target,
                                   int row,
                                   int col,
                                   double value)
      • fillRow

        public static void fillRow​(double[][] target,
                                   int row,
                                   int col,
                                   java.util.function.DoubleSupplier supplier)