How to calculate MINOR or COFACTOR of 3X3 matrix? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 14

How to calculate MINOR or COFACTOR of 3X3 matrix?

I need your help once again more, ☺ is their any Algorithm to find MINOR or COFACTOR of matrix?

19th Mar 2017, 3:49 AM
Ajay Agrawal
Ajay Agrawal - avatar
15 Answers
+ 20
The return type is int but isn't T an int array? I may be wrong...
19th Mar 2017, 4:18 AM
Jafca
Jafca - avatar
+ 18
@Mohsin I hope Ajay doesn't speak in Telugu...
19th Mar 2017, 5:30 AM
Jafca
Jafca - avatar
+ 17
It's Jafca Try this (what @Heng Jun Xi means): int[][] TRANSPOSE(int M[][],int x,int y)
19th Mar 2017, 4:54 AM
Jafca
Jafca - avatar
+ 17
yes, it's working. Thanks everyone, Jafca, Heng Jun Xi, Dayve and Mohsin💐🙌
19th Mar 2017, 11:43 AM
Ajay Agrawal
Ajay Agrawal - avatar
+ 16
I need your help once again more, ☺ is their any Algorithm to find MINOR or COFACTOR of matrix?
19th Mar 2017, 12:19 PM
Ajay Agrawal
Ajay Agrawal - avatar
+ 14
but I have Google translator guys, so that I can understand 100s of languages. So don't worry guys, you can talk in any language. 😁 I thanking Google for this and trying your suggestions.
19th Mar 2017, 11:39 AM
Ajay Agrawal
Ajay Agrawal - avatar
+ 12
Dayve, I have developed it on play ground and also their is no need of semi colon. because similar codes are running off on my new code.
19th Mar 2017, 4:47 AM
Ajay Agrawal
Ajay Agrawal - avatar
+ 12
Jaffa I'll try it now.
19th Mar 2017, 4:48 AM
Ajay Agrawal
Ajay Agrawal - avatar
+ 11
@Ajay some semi-colons are required, try to run it in code playground.
19th Mar 2017, 4:43 AM
Dev
Dev - avatar
+ 11
Heng Jun Xi, I have tried it, but still it remains...
19th Mar 2017, 4:46 AM
Ajay Agrawal
Ajay Agrawal - avatar
+ 8
it should be int [][] TRANSPOSE ()
19th Mar 2017, 4:36 AM
Heng Jun Xi
Heng Jun Xi - avatar
+ 8
I checked your code and added the [][] it compile and works well. Make sure there [][]is stick with int and is spaced from TRANSPOSE: int[][] TRANSPOSE ()
19th Mar 2017, 4:53 AM
Heng Jun Xi
Heng Jun Xi - avatar
+ 7
@ajay jaffa in telugu means fool 😁
19th Mar 2017, 5:17 AM
Ahmed Shah Malik
Ahmed Shah Malik - avatar
+ 7
@jafca definitely :)
19th Mar 2017, 7:06 AM
Ahmed Shah Malik
Ahmed Shah Malik - avatar
+ 7
All the formula had given back my lecturer haha I think you can code it out if you know the formula
19th Mar 2017, 5:07 PM
Heng Jun Xi
Heng Jun Xi - avatar