0

About refactoring

My matrix calculation code is not very easy to read. Addition and Subtraction are easy. But Multiplication and Division are able to be easy by refactoring. Please read my matCalc 4*4 code, and refactor. Do you use recursive?

1st Mar 2019, 3:31 PM
slowlearner
slowlearner - avatar
5 Réponses
0
Thank you for comments. And in this code, the index of the matrix is right or not? Please confirm the index number. OR, another method exists?
1st Mar 2019, 7:55 PM
slowlearner
slowlearner - avatar
0
correct number or wrong number
2nd Mar 2019, 10:24 AM
slowlearner
slowlearner - avatar
0
mathematically
2nd Mar 2019, 10:25 AM
slowlearner
slowlearner - avatar
0
In 4*4 Matrix, with Cofactor matrix and sarrus rule , you make inverse of a matrix. This is unpopular?
2nd Mar 2019, 10:57 AM
slowlearner
slowlearner - avatar
0
ok,,, someday I will study pivoting technique and LU decomposition once again. I have heard These terms once.
2nd Mar 2019, 2:37 PM
slowlearner
slowlearner - avatar