/EquationSolver

General-purpose equation solver (up to the 4th order) which is fast and easy to use. Unit-tested.

Primary LanguageC#

Equation Solver (C#)

test .NET - 6.0

General-purpose equation solver (up to the 4th order) which is fast and easy to use. Unit-tested.

Main Functions (from RootFinder class)

  • Complex[] FindRoots(double a, double b, double c, double d, double e)
  • double[] FindRealRoots(double a, double b, double c, double d, double e)

How To Get Started

Clone or download this repository and open the project in Visual Studio. Alternatively, you can just copy EquationSolver/RootFinder.cs to an existing project.

Contributing

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.