Hi,
I need help please!
In the comment line below, it says that indexing is similar as above, may I know above means ‘where’?
row_to_reduce = is expecting a vector [j,:] reference?
# Get the row to be reduced. The indexing here is similar as above, with the row variable replaced by the j variable.
row_to_reduce = None
Should the substitution row be substitution_row = row-1 ?
These are my results.
Wrong output for test case check_matrix_1.
Expected:
[-0.33333333 -1.33333333 2.33333333].
Got:
[2. 0.7 2.33333333].
Wrong output for test case check_matrix_2.
Expected:
[0.7857143 1.64285714 0. ].
Got:
[4. 0.64285714 0. ].
Wrong output for test case check_matrix_3.
Expected:
[19. -2. 1.].
Got:
[1. 5. 1.].
1 Tests passed
3 Tests failed
Would appreciate your help as long as I can have an improvement!