For those confused: dummy and idx were used as storing variables and are both defined as Max(col1) where the value would be the row with the largest number. He messed up around 15:00 and put max(col1) instead of max(col2) but he quickly fixed it
@TheProPeeL4 жыл бұрын
Simply swapping the rows gives you no guarantee that L*U will return the starting matrix, so I'm guessing you just got lucky with the result
@AGnanaprakasam6 жыл бұрын
around 11.27 minutes, Small part of the video is missing
@onesteptowardssuccess9928 Жыл бұрын
I don't understand how raw exchange is done by idx and dummy
@vkg590010 ай бұрын
For line 28 and 29 Use 'idx+1' instead of 'idx'
@shubhankarsarkar19953 жыл бұрын
I think there's some issue with partial pivoting part of the code. Can anyone suggest how to do it correctly?
@passionofsimulation3005 Жыл бұрын
Hi guys actually there is an error in idx for pivot element A(2,2). Col2 is a 2X1 matrix of -1.667 & - 0.333. Idx for A(2,2) will take position of max value of Col2 which will be -0.333. Hence idx will be 2. But when you pass this idx for Ab matrix, there will be no row interchange between Row 2 & Row 3 and Row 2 remains unchanged. Still Ab matrix is same without any row exchange which is wrong.
@vkg590010 ай бұрын
Yes, U r right
@sangepuleelasaikiran58155 жыл бұрын
What is meant by idx
@chandangupta-uu3hr4 жыл бұрын
index
@prasenjit87413 жыл бұрын
partial pivoting portion is incorrect increasing confusion. idx?? not clearly explained