95 |
gsl_complex * z0, gsl_complex * z1); |
gsl_complex * z0, gsl_complex * z1); |
96 |
|
|
97 |
|
|
98 |
/* Solve for real roots of the cubic equation |
/* Solve for real or complex roots of the cubic equation |
99 |
* x^3 + a x^2 + b x + c = 0, returning the |
* x^3 + a x^2 + b x + c = 0, returning the |
100 |
* number of real roots. |
* number of real roots. |
101 |
* |
* |
110 |
gsl_complex * z2); |
gsl_complex * z2); |
111 |
|
|
112 |
|
|
113 |
|
/* Solve for real or complex roots of the quartic equation |
114 |
|
* x^4 + a x^3 + b x^2 + c x + d = 0, |
115 |
|
* returning the number of such roots. |
116 |
|
* |
117 |
|
* Roots are returned ordered. |
118 |
|
*/ |
119 |
|
int |
120 |
|
gsl_poly_solve_quartic (double a, double b, double c, double d, |
121 |
|
double * x0, double * x1, |
122 |
|
double * x2, double * x3); |
123 |
|
|
124 |
|
int |
125 |
|
gsl_poly_complex_solve_quartic(double a, double b, double c, double d, |
126 |
|
gsl_complex * z0, gsl_complex * z1, |
127 |
|
gsl_complex * z2, gsl_complex * z3); |
128 |
|
|
129 |
|
|
130 |
/* Solve for the complex roots of a general real polynomial */ |
/* Solve for the complex roots of a general real polynomial */ |
131 |
|
|
132 |
typedef struct |
typedef struct |