Package org.ojalgo.array.operation
Class FillMatchingDual
java.lang.Object
org.ojalgo.array.operation.FillMatchingDual
- All Implemented Interfaces:
ArrayOperation
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic int
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic void
fillAll
(double[][] target, double value) static void
fillAll
(double[][] target, DoubleSupplier supplier) static void
fillColumn
(double[][] target, int row, int col, double value) static void
fillColumn
(double[][] target, int row, int col, DoubleSupplier supplier) static void
fillDiagonal
(double[][] target, int row, int col, double value) static void
fillDiagonal
(double[][] target, int row, int col, DoubleSupplier supplier) static void
fillMatching
(double[][] target, double[][] left, DoubleBinaryOperator function, double right) static void
fillMatching
(double[][] target, double[][] left, DoubleBinaryOperator function, double[][] right) static void
fillMatching
(double[][] target, double left, DoubleBinaryOperator function, double[][] right) static void
fillRange
(double[][] target, int first, int limit, double value) static void
fillRange
(double[][] target, int first, int limit, DoubleSupplier supplier) static void
fillRow
(double[][] target, int row, int col, double value) static void
fillRow
(double[][] target, int row, int col, DoubleSupplier supplier)
-
Field Details
-
THRESHOLD
public static int THRESHOLD2013-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 Details
-
FillMatchingDual
public FillMatchingDual()
-
-
Method Details
-
fillAll
public static void fillAll(double[][] target, double value) -
fillAll
-
fillColumn
public static void fillColumn(double[][] target, int row, int col, double value) -
fillColumn
-
fillDiagonal
public static void fillDiagonal(double[][] target, int row, int col, double value) -
fillDiagonal
-
fillMatching
public static void fillMatching(double[][] target, double left, DoubleBinaryOperator function, double[][] right) -
fillMatching
public static void fillMatching(double[][] target, double[][] left, DoubleBinaryOperator function, double right) -
fillMatching
public static void fillMatching(double[][] target, double[][] left, DoubleBinaryOperator function, double[][] right) -
fillRange
public static void fillRange(double[][] target, int first, int limit, double value) -
fillRange
-
fillRow
public static void fillRow(double[][] target, int row, int col, double value) -
fillRow
-