getRowMax method

double getRowMax (List<Float64List> matrix, int row, int firstCol, int lastCol)

Returns the maximum value in the row row of matrix. If firstCol and lastCol are not null, the maximum search inside row is performed from firstCol, inclusive, to lastCol, also inclusive.

Implementation

static double getRowMax(
    List<Float64List> matrix, int row, int firstCol, int lastCol) {
  Float64List rowdata = getRow(matrix, row);
  return Array1D.getMaxInRange(rowdata, firstCol, lastCol);
}