ARTS
2.0.49
|
Contains the code to determine roots of polynomials. More...
Go to the source code of this file.
Classes | |
struct | gsl_poly_complex_workspace |
Macros | |
#define | MAT(m, i, j, n) ((m)[(i)*(n) + (j)]) |
#define | FMAT(m, i, j, n) ((m)[((i)-1)*(n) + ((j)-1)]) |
#define | GSL_DBL_EPSILON 2.2204460492503131e-16 |
#define | RADIX 2 |
#define | RADIX2 (RADIX*RADIX) |
#define | GSL_SUCCESS 0 |
#define | GSL_FAILURE -1 |
#define | GSL_EINVAL 4 |
#define | GSL_EFAILED 5 |
#define | GSL_SET_COMPLEX_PACKED(zp, n, x, y) do {*((zp)+2*(n))=(x); *((zp)+(2*(n)+1))=(y);} while(0) |
Typedefs | |
typedef double * | gsl_complex_packed_ptr |
Functions | |
int | poly_root_solve (Matrix &roots, Vector &coeffs) |
Contains the code to determine roots of polynomials.
Code was taken from the GNU Scientific library. http://sources.redhat.com/gsl/
Definition in file poly_roots.cc.
#define FMAT | ( | m, | |
i, | |||
j, | |||
n | |||
) | ((m)[((i)-1)*(n) + ((j)-1)]) |
Definition at line 50 of file poly_roots.cc.
#define GSL_DBL_EPSILON 2.2204460492503131e-16 |
Definition at line 53 of file poly_roots.cc.
#define GSL_EFAILED 5 |
Definition at line 61 of file poly_roots.cc.
#define GSL_EINVAL 4 |
Definition at line 60 of file poly_roots.cc.
#define GSL_FAILURE -1 |
Definition at line 59 of file poly_roots.cc.
#define GSL_SET_COMPLEX_PACKED | ( | zp, | |
n, | |||
x, | |||
y | |||
) | do {*((zp)+2*(n))=(x); *((zp)+(2*(n)+1))=(y);} while(0) |
Definition at line 63 of file poly_roots.cc.
#define GSL_SUCCESS 0 |
Definition at line 58 of file poly_roots.cc.
#define MAT | ( | m, | |
i, | |||
j, | |||
n | |||
) | ((m)[(i)*(n) + (j)]) |
Definition at line 47 of file poly_roots.cc.
#define RADIX 2 |
Definition at line 55 of file poly_roots.cc.
Definition at line 56 of file poly_roots.cc.
typedef double* gsl_complex_packed_ptr |
Definition at line 66 of file poly_roots.cc.
Definition at line 100 of file poly_roots.cc.
References ConstVectorView::mdata, ConstMatrixView::mdata, ConstMatrixView::ncols(), ConstVectorView::nelem(), and ConstMatrixView::nrows().
Referenced by main(), and plevel_crossing_2d().