1 #ifndef MATH_QuadraticPolynom_HPP
2 #define MATH_QuadraticPolynom_HPP
7 int& n, T solutions[3]) {
24 double delta=b*b-4*a*c;
31 solutions[0]=(-b-delta)/(2*a);
32 solutions[1]=(-b+delta)/(2*a);
34 solutions[1]=(-b-delta)/(2*a);
35 solutions[0]=(-b+delta)/(2*a);
39 solutions[0]=-b/(2*a);
static void solve(const tReal &a, const tReal &b, const tReal &c, int &n, T solutions[2])
#define tReal
Definition: types.h:18