What's the difference between matrix[1,0] and matrix[0,0] | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What's the difference between matrix[1,0] and matrix[0,0]

16th Jul 2016, 2:13 AM
Donglin Chan
Donglin Chan - avatar
3 Answers
+ 3
Matrix[0,0] in a 2x2 matrix represents upper left. Matrix[1,0] in a 2x2 matrix represents lower left. Note: Matrix[rows, columns] where each starts at 0.
10th Aug 2016, 3:52 PM
SouthBay
SouthBay - avatar
+ 1
The first number in both sets
22nd Jul 2016, 3:45 AM
Michael Kolodziej
0
matrix [1][0] is the element in 2nd row and 1st column from matrix while matrix[0][0] is the element in the 1st row and 1st column from matrix.
12th Nov 2016, 4:05 AM
Akshay Kamat
Akshay Kamat - avatar