VERB_code_2.3
rroots.h
Go to the documentation of this file.
1 
12 #include <iostream>
13 #include <iomanip>
14 #include <math.h>
15 #include <stdlib.h>
16 
17 #ifndef rroots_H
18 #define rroots_H
19 
20 using namespace std;
21 
23 #define maxiter 5000
24 #ifndef DBL_EPSILON
26 #define DBL_EPSILON 1e-15
27 #endif
28 
30 int roots(double *a,int n,double *wr,double *wi);
31 
35 void get_quads(double *a,int n,double *quad,double *x);
36 
37 
38 #endif
int roots(double *a, int n, double *wr, double *wi)
Extract individual real or complex roots from list of quadratic factors.
Definition: rroots.cpp:15
void get_quads(double *a, int n, double *quad, double *x)
Definition: rroots.cpp:201