complex_quartic.h File Reference

#include <math.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_complex.h>
#include <gsl/gsl_complex_math.h>
#include <gsl/gsl_poly.h>

Go to the source code of this file.

Defines

#define SWAP(a, b)   do { gsl_complex tmp = b ; b = a ; a = tmp ; } while(0)

Functions

int gsl_poly_complex_solve_quartic (double a, double b, double c, double d, gsl_complex *z0, gsl_complex *z1, gsl_complex *z2, gsl_complex *z3)


Define Documentation

#define SWAP ( a,
b   )     do { gsl_complex tmp = b ; b = a ; a = tmp ; } while(0)

Definition at line 36 of file complex_quartic.h.

Referenced by gsl_poly_complex_solve_cubic(), and gsl_poly_complex_solve_quartic().


Function Documentation

int gsl_poly_complex_solve_quartic ( double  a,
double  b,
double  c,
double  d,
gsl_complex *  z0,
gsl_complex *  z1,
gsl_complex *  z2,
gsl_complex *  z3 
)

Definition at line 39 of file complex_quartic.h.

References A, acos(), B, cos(), ROOT::Math::fabs(), GSL_MAX, h, i, Rgl::Mc::k1, Rgl::Mc::k2, M_PI, norm(), pow(), ROOT::Math::Cephes::Q, R, r4, Rgl::rr, sqrt(), SWAP, theta, u, and v1.

Referenced by ROOT::Math::Polynomial::FindRoots().


Generated on Tue Jul 5 16:07:13 2011 for ROOT_528-00b_version by  doxygen 1.5.1