getColumnMax method

double getColumnMax (List<Float64List> matrix, int col, int firstRow, int lastRow)

Returns the maximum value in the column col of matrix. If firstRow and lastRow are not null, the maximum search inside col is performed from firstRow, inclusive, to lastRow, also inclusive.

Implementation

static double getColumnMax(
    List<Float64List> matrix, int col, int firstRow, int lastRow) {
  Float64List coldata = getColumn(matrix, col);
  return Array1D.getMaxInRange(coldata, firstRow, lastRow);
}