Digit 7

Your source for C# and XNA tutorials and code.

Home     Shader Tutorials     Downloads      
Blackjack Simulation     Heightmap Generator     Massive Battle     Matrix Solver     Physics Simulator     Procedural Tree Generator     QuadTree     Swarm Intelligence      

Matrix Solver


Downloads

How to Use

     The matrix solver is a simple console application that allows you to input an m x n matrix and reduce it down to reduced row echelon form using Gaussian elimination. The instructions are pretty self-explanatory, so I won't explain it in detail.

Some Thoughts...

     Linear algebra is still a new concept to me (at the time of this writing), so I'm sure Gaussian elimination isn't the most accurate/efficient way to solve a system of equations. However, I needed a quick and easy way to do it so this was the best option. Having finally taken the time to implement an algorithm to solve systems, I'll be able to use this for contact resolution in the physics simulator and analyze circuits in a new program I'm writing. If you find anything wrong with the solver (keep in my that some systems just aren't reducible), please let me know by sending an email my way at dan@digitseven.com.

Last Update: 8/20/10