Files
2023-04-04 17:35:27 +00:00

10 lines
298 B
Java

// "Replace loop with 'Arrays.fill()' method call" "false"
package pack;
public class TableWrapper {
public static double[][] diag(final int n, final double value) {
final double[][] test = new double[n][n];
for (<caret>int i = 0; i < n; ++i) test[i][i] = value;
return test;
}}