General-purpose equation solver (up to the 4th order) which is fast and easy to use. Unit-tested.
- Complex[] FindRoots(double a, double b, double c, double d, double e)
- double[] FindRealRoots(double a, double b, double c, double d, double e)
Clone or download this repository and open the project in Visual Studio. Alternatively, you can just copy EquationSolver/RootFinder.cs
to an existing project.
Pull requests are welcome. If you find an instance where this library doesn't return the expected result, feel free to tell me about it.