getRow method
Returns the row row
>= 0 from matrix
.
Returns null if row
of range.
The result is the original row in the matrix, not a new list!
Modifying the row will therefore modify the matrix!
Implementation
static Float64List getRow(List<Float64List> matrix, int row) {
if (row < 0 || row >= matrix.length) return null;
return matrix[row];
}