Timeline for Determinant of a matrix
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 3, 2015 at 8:37 | vote | accept | Phorce | ||
Feb 2, 2015 at 10:59 | comment | added | 200_success |
You should just infer the size of the matrix from data.size() . There's no need for a template.
|
|
Feb 2, 2015 at 10:53 | comment | added | Phorce | Thank you for the reply. I do get your point, this algorithm isn't the best. I did look at the LU-Decomposition and this is a much better algorithm. I also get your point over float/double and will stick to double. I don't get why passing in a int X to determine the size is a bad thing? Since I can have a if statement that works well like this, are you saying that when using LU-Decomposition, there is no need to have multiple if statements etc..? | |
Feb 2, 2015 at 10:41 | history | answered | Yuushi | CC BY-SA 3.0 |