fetchRow method

List<double> fetchRow(
  1. int row
)

Implementation

List<double> fetchRow(int row) {
  final cols = shape[1];
  final allData = fetchData();
  return allData.sublist(row * cols, (row + 1) * cols);
}