///////////////////////////////////////////////////////////////////////
//
// Find the real roots of a quadratic equation using the method
// described in Numerical Recipes in Fortran, p. 178.
//
// Author: W. Heintzelman <billh@hep.upenn.edu>
//
// REVISION HISTORY:
//     02/12/2014 : W. Heintzelman - New file
//
////////////////////////////////////////////////////////////////////////

// x1 and x2 are set to zero and the function returns "false" if the
// roots are imaginary.
// The function returns  "true" if the roots are real.

#ifndef __RAT_QuadraticRoots__
#define __RAT_QuadraticRoots__

namespace RAT {

bool QuadraticRoots(double a,double b,double c,double& x1,double& x2);

} // namespace RAT
#endif