Go to the source code of this file.
|
#define | F5(t) (((((t+a)*t+b)*t+c)*t+d)*t+e) |
|
#define | SWAP(a, b) { t=b; b=a; a=t; } |
|
#define | TwoPi 6.28318530717958648 |
|
|
void | CSqrt (double x, double y, double &a, double &b) |
|
static void | dblSort3 (double &a, double &b, double &c) |
|
double | N4Step (double x, double a, double b, double c, double d) |
|
int | Solve2 (double x0, double x1, double x2, double f0, double f1, double f2, double &r1, double &r2) |
|
int | SolveP3 (double *x, double a, double b, double c) |
|
int | SolveP4 (double *x, double a, double b, double c, double d) |
|
int | SolveP4Bi (double *x, double b, double d) |
|
int | SolveP4De (double *x, double b, double c, double d) |
|
int | SolveP5 (double *x, double a, double b, double c, double d, double e) |
|
double | SolveP5_1 (double a, double b, double c, double d, double e) |
|
#define F5 |
( |
|
t | ) |
(((((t+a)*t+b)*t+c)*t+d)*t+e) |
#define SWAP |
( |
|
a, |
|
|
|
b |
|
) |
| { t=b; b=a; a=t; } |
#define TwoPi 6.28318530717958648 |
void CSqrt |
( |
double |
x, |
|
|
double |
y, |
|
|
double & |
a, |
|
|
double & |
b |
|
) |
| |
static void dblSort3 |
( |
double & |
a, |
|
|
double & |
b, |
|
|
double & |
c |
|
) |
| |
|
static |
double N4Step |
( |
double |
x, |
|
|
double |
a, |
|
|
double |
b, |
|
|
double |
c, |
|
|
double |
d |
|
) |
| |
int Solve2 |
( |
double |
x0, |
|
|
double |
x1, |
|
|
double |
x2, |
|
|
double |
f0, |
|
|
double |
f1, |
|
|
double |
f2, |
|
|
double & |
r1, |
|
|
double & |
r2 |
|
) |
| |
int SolveP3 |
( |
double * |
x, |
|
|
double |
a, |
|
|
double |
b, |
|
|
double |
c |
|
) |
| |
int SolveP4 |
( |
double * |
x, |
|
|
double |
a, |
|
|
double |
b, |
|
|
double |
c, |
|
|
double |
d |
|
) |
| |
int SolveP4Bi |
( |
double * |
x, |
|
|
double |
b, |
|
|
double |
d |
|
) |
| |
int SolveP4De |
( |
double * |
x, |
|
|
double |
b, |
|
|
double |
c, |
|
|
double |
d |
|
) |
| |
int SolveP5 |
( |
double * |
x, |
|
|
double |
a, |
|
|
double |
b, |
|
|
double |
c, |
|
|
double |
d, |
|
|
double |
e |
|
) |
| |
double SolveP5_1 |
( |
double |
a, |
|
|
double |
b, |
|
|
double |
c, |
|
|
double |
d, |
|
|
double |
e |
|
) |
| |