Fills the values in a row of the matrix @param A the matrix in question @param i the row of the matrix @param from the first column index to fill (inclusive) @param to the last column index to fill (exclusive) @param val the value to fill into the matrix
(Matrix A, int i, int from, int to, double val)
| 416 | * @param val the value to fill into the matrix |
| 417 | */ |
| 418 | public static void fillRow(Matrix A, int i, int from, int to, double val) |
| 419 | { |
| 420 | for(int j = from; j < to; j++) |
| 421 | A.set(i, j, val); |
| 422 | } |
| 423 | |
| 424 | /** |
| 425 | * Fills the values in a column of the matrix |