Package org.ojalgo.array.operation
Class FillMatchingDual
- 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 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.
-
Constructor Summary
Constructors Constructor Description FillMatchingDual()
-
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)
-
-
-
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)
-
-