#include <RealQuadEquation.h>
Public Member Functions | |
RealQuadEquation (double A, double B, double C) | |
Public Attributes | |
double | first |
bool | hasSolution |
double | second |
A numericaly stable and as fast as can be quadratic equation solver. The equation has the form A*x^2 + B*x + C = 0
Definition at line 11 of file RealQuadEquation.h.
|
inline |
Definition at line 17 of file RealQuadEquation.h.
References funct::A, funct::C, first, hasSolution, lumiQueryAPI::q, second, and mathSSE::sqrt().
double RealQuadEquation::first |
Definition at line 14 of file RealQuadEquation.h.
Referenced by HelixBarrelCylinderCrossing::HelixBarrelCylinderCrossing(), HelixBarrelPlaneCrossingByCircle::pathLength(), and RealQuadEquation().
bool RealQuadEquation::hasSolution |
Definition at line 13 of file RealQuadEquation.h.
Referenced by HelixBarrelCylinderCrossing::HelixBarrelCylinderCrossing(), HelixBarrelPlaneCrossingByCircle::pathLength(), and RealQuadEquation().
double RealQuadEquation::second |
Definition at line 15 of file RealQuadEquation.h.
Referenced by HelixBarrelCylinderCrossing::HelixBarrelCylinderCrossing(), HelixBarrelPlaneCrossingByCircle::pathLength(), and RealQuadEquation().