So, I'm trying to "solve" a matrix. If I were doing this with a pencil and paper, it'd be Gauss Jordan. Basically, what I want is to take the matrix for variables w, x, y, and z as follows:
1 0 -2 0
2 0 0 -1
0 2 -3 -2
and solve for w, x, y, and z. Again, with Gauss Jordan, it'd be:
1 0 0 -1/2
0 1 0 -11/8
0 0 1 -1/4
So w = 1/2, x = 11/8 and y = 1/4
I've made a DenseMatrix for this, but I can't for the life of me figure out how to solve it. I feel like an idiot. :\ Linear Algebra is right on the edge of my mathematical ability, and I'm thinking Math.NET uses a more efficient means than Gauss-Jordan I'm not familiar with. Can anyone point me in the right direction?
1 0 -2 0
2 0 0 -1
0 2 -3 -2
and solve for w, x, y, and z. Again, with Gauss Jordan, it'd be:
1 0 0 -1/2
0 1 0 -11/8
0 0 1 -1/4
So w = 1/2, x = 11/8 and y = 1/4
I've made a DenseMatrix for this, but I can't for the life of me figure out how to solve it. I feel like an idiot. :\ Linear Algebra is right on the edge of my mathematical ability, and I'm thinking Math.NET uses a more efficient means than Gauss-Jordan I'm not familiar with. Can anyone point me in the right direction?