When it says "i is the row index" there are two ways to interpret this:
1) i is the index of a row (e.g. row 0, row 1, row 2, ...), so it is essentially the y-axis (assuming rows are horizontal (x-axis), and columns are vertical (y-axis))
2) i is the index within a row (e.g. given row 1, we have 0, 1, 2, 3, ...), so it is the x-axis
Same applies for "j is the column index". Which one is the correct interpretation?
When it says "i is the row index" there are two ways to interpret this:
1) i is the index of a row (e.g. row 0, row 1, row 2, ...), so it is essentially the y-axis (assuming rows are horizontal (x-axis), and columns are vertical (y-axis)) 2) i is the index within a row (e.g. given row 1, we have 0, 1, 2, 3, ...), so it is the x-axis
Same applies for "j is the column index". Which one is the correct interpretation?