in reply to How would you solve a user-inputted simple one-variable Linear Equation
I think the traditional approach of implementing/solving linear equations is to convert them into matrix form and then repeatedly applying Gaussian Elimination until you solve the system or determine that it has no solution.
The easiest way of doing so is to either link to a solver library (maybe PDL has an equation system solver).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How would you solve a user-inputted simple one-variable Linear Equation
by etj (Priest) on May 20, 2022 at 14:37 UTC | |
|
Re^2: How would you solve a user-inputted simple one-variable Linear Equation
by nat47 (Sexton) on Apr 25, 2015 at 16:52 UTC | |
by Corion (Patriarch) on Apr 25, 2015 at 16:56 UTC |