Functions
QuadraticEquation.hpp File Reference

Declares functions for solving quadratic equations. More...

#include <array>

Go to the source code of this file.

Functions

double positive_root (double a, double b, double c)
 Returns the positive root of a quadratic equation ax^2 + bx + c = 0. More...
 
std::array< double, 2 > real_roots (double a, double b, double c)
 Returns the two real roots of a quadratic equation ax^2 + bx + c = 0. More...
 

Detailed Description

Declares functions for solving quadratic equations.