35 inline double a(
void)
const {
return da; }
36 inline double b(
void)
const {
return db; }
37 inline double c(
void)
const {
return dc; }
54 Parabol(
void) : da(0.0), db(0.0), dc(0.0), s_det(0), s_dxzero(0) {}
57 : da(fa), db(fb), dc(fc), s_det(0), s_dxzero(0) {}
59 Parabol(
double x[3],
double y[3],
int);
63 Parabol(
double x1,
double x2,
double x3,
double y1,
double y2,
66 inline double y(
double x) {
return da * x * x + db * x + dc; }
76 t.det = db * db - 4 * da * dc;
87 mutable double dxzero[2];
Parabol(double fa, double fb, double fc)
double determinant(void) const
int find_zero(double xzero[2]) const
std::ostream & operator<<(std::ostream &file, const Parabol &f)