- java.lang.Object
-
- org.ojalgo.array.operation.FillMatchingDual
-
- All Implemented Interfaces:
ArrayOperation
public abstract class FillMatchingDual extends java.lang.Object implements ArrayOperation
-
-
Field Summary
Fields Modifier and Type Field Description static intTHRESHOLD2013-10-22: Was set to 128 (based on calibration) but I saw a dip in relative performance (java matrix benchmark) at size 200.
-
Constructor Summary
Constructors Constructor Description FillMatchingDual()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidfillAll(double[][] target, double value)static voidfillAll(double[][] target, java.util.function.DoubleSupplier supplier)static voidfillColumn(double[][] target, int row, int col, double value)static voidfillColumn(double[][] target, int row, int col, java.util.function.DoubleSupplier supplier)static voidfillDiagonal(double[][] target, int row, int col, double value)static voidfillDiagonal(double[][] target, int row, int col, java.util.function.DoubleSupplier supplier)static voidfillMatching(double[][] target, double[][] left, java.util.function.DoubleBinaryOperator function, double right)static voidfillMatching(double[][] target, double[][] left, java.util.function.DoubleBinaryOperator function, double[][] right)static voidfillMatching(double[][] target, double left, java.util.function.DoubleBinaryOperator function, double[][] right)static voidfillRange(double[][] target, int first, int limit, double value)static voidfillRange(double[][] target, int first, int limit, java.util.function.DoubleSupplier supplier)static voidfillRow(double[][] target, int row, int col, double value)static voidfillRow(double[][] target, int row, int col, java.util.function.DoubleSupplier supplier)
-
-
-
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)
-
-