ATLAS Offline Software
RealQuadradicEquation Struct Reference

#include <RealQuadraticEquation.h>

Collaboration diagram for RealQuadradicEquation:

Detailed Description

Mathematic struct for solving real quadratic equations

Mathematical motivation:
The equation is given by:
\( \alpha x^{2} + \beta x + \gamma = 0 \) and has therefore the analytical solution:
\( x_{1, 2} = - \frac{\beta \pm \sqrt{\beta^{2}-4\alpha\gamma}}{2\alpha}\)

Author
Andre.nosp@m.as.S.nosp@m.alzbu.nosp@m.rger.nosp@m.@cern.nosp@m..ch

The documentation for this struct was generated from the following file: