MCPcopy Create free account
hub / github.com/EdwardRaff/JSAT / fillRow

Method fillRow

JSAT/src/jsat/linear/RowColumnOps.java:418–422  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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

Callers 1

pascalMethod · 0.95

Calls 1

setMethod · 0.45

Tested by

no test coverage detected