Logo ROOT   6.10/09
Reference Guide
Macros | Functions
zsolve_cubic.cxx File Reference
#include <math.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_complex.h>
#include <gsl/gsl_poly.h>
Include dependency graph for zsolve_cubic.cxx:

Macros

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

Functions

int gsl_poly_complex_solve_cubic (double a, double b, double c, gsl_complex *z0, gsl_complex *z1, gsl_complex *z2)
 

Macro Definition Documentation

◆ SWAP

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

Definition at line 28 of file zsolve_cubic.cxx.

Function Documentation

◆ gsl_poly_complex_solve_cubic()

int gsl_poly_complex_solve_cubic ( double  a,
double  b,
double  c,
gsl_complex *  z0,
gsl_complex *  z1,
gsl_complex *  z2 
)

Definition at line 31 of file zsolve_cubic.cxx.