- This project povides tools to solve quadratics equations
- Version 1.0 15 March 2020
- Generated documentation on https://cpp-projects-showcase.github.io/QuaqraticEquation
The tools have some limitations:
- The equation must be quadratic,
e.g. the coefficient of
x^2
cannot be null - The coefficient are real numbers (integer, etc...), complex numbers not allowed
The Eq2deg
class is designed to deal with equations having real roots.
It throws an exception in case of negative discriminant.
The Eq2degComp class is derived from Eq2deg and allow complex roots. The coefficients need to be real numbers.
- Clone the repos:
git clone [email protected]:cpp-projects-showcase/QuaqraticEquation.git
- Go into the cloned directory:
cd QuaqraticEquation
- Create your
build
directory and change into it:mkdir build && cd build
- Launch the build:
cmake .. && make
- Test everything:
make check
- Build the documentation:
make docs
(it needs Doxygen) - Read the doc:
<myBrowser> html/index.html