Eq2deg
|
This project povides tools to solve quadratics equations
Please visit github if you are looking for source files QuadraticEquation
The tools have limitations:
The Eq2deg class is designed to deal with equations having real roots. It throw an exception in case of negative discriminant
The Eq2degComp class is derived from Eq2deg and allow complex roots. The coefficients needs to be real
To allow TDD (test driven developpement) basic tests are provided based on the boost unit test framework. The tests are implemented in the testEq2Deg.cpp file. Tests include both Eq2deg and Eq2degComp tests
The files solver.cpp and solverc.cpp are skeleton that can be used to implement your main programs