21 inline double a(
void)
const {
return da; }
22 inline double b(
void)
const {
return db; }
23 inline double c(
void)
const {
return dc; }
24 inline double d(
void)
const {
return dd; }
45 Cubic(
void) : da(0.0), db(0.0), dc(0.0), dd(0.0), s_dxzero(0) {}
46 Cubic(
double fa,
double fb,
double fc,
double fd)
47 : da(fa), db(fb), dc(fc), dd(fd), s_dxzero(0) {}
49 inline double y(
double x)
const {
50 return da * x * x * x + db * x * x + dc * x + dd;
66 double da, db, dc, dd;
double s_xzero(void) const
int find_maxmin(double xmm[2], double ymm[2], int s_mm[2]) const
int find_real_zero(double z[3]) const
Cubic(double fa, double fb, double fc, double fd)
void find_zero(double_complex &z1, double_complex &z2, double_complex &z3) const
std::complex< double > double_complex
std::ostream & operator<<(std::ostream &file, const Cubic &f)