I wanted a computer algorithm which could solve an n x n Determinant and return a value. Most recommendably in C++ language, where input is a 2D Array, and N, and output is the value.
There is an exhaustive method in Mathematics to solve Determinants whose size is more than 3 x 3. If somebody could just find a code snippet which solves the determinant, that'll be helpful.
The main aim was to solve 'n' variables, given the coefficients of a system of 'n' Linear Equations. Once 'n' exceeds 4, this matter gets messy on paper. There is one 'Determinant' way of solving such equations. Although once 'n' exceeds 3, it gets messy on paper too, but its doable if i can just find how the computer can solve it instead. Thanks!