MRPT  2.0.4
Macros | Functions | Variables
poly_roots.cpp File Reference
#include "math-precomp.h"
#include <mrpt/math/poly_roots.h>
#include <cmath>
Include dependency graph for poly_roots.cpp:

Go to the source code of this file.

Macros

#define TwoPi   6.28318530717958648
 
#define F5(t)   ((((((t) + a) * (t) + b) * (t) + c) * (t) + d) * (t) + e)
 

Functions

void CSqrt (double x, double y, double &a, double &b)
 
int SolveP4Bi (double *x, double b, double d)
 
static void dblSort3 (double &a, double &b, double &c)
 
int SolveP4De (double *x, double b, double c, double d)
 
double N4Step (double x, double a, double b, double c, double d)
 
static double SolveP5_1 (double a, double b, double c, double d, double e)
 

Variables

const double eps = 1e-14
 

Macro Definition Documentation

◆ F5

#define F5 (   t)    ((((((t) + a) * (t) + b) * (t) + c) * (t) + d) * (t) + e)

Definition at line 287 of file poly_roots.cpp.

Referenced by SolveP5_1().

◆ TwoPi

#define TwoPi   6.28318530717958648

Definition at line 21 of file poly_roots.cpp.

Referenced by mrpt::math::solve_poly3().

Function Documentation

◆ CSqrt()

void CSqrt ( double  x,
double  y,
double &  a,
double &  b 
)

Definition at line 70 of file poly_roots.cpp.

Referenced by SolveP4Bi(), and SolveP4De().

Here is the caller graph for this function:

◆ dblSort3()

static void dblSort3 ( double &  a,
double &  b,
double &  c 
)
static

Definition at line 142 of file poly_roots.cpp.

Referenced by SolveP4De().

Here is the caller graph for this function:

◆ N4Step()

double N4Step ( double  x,
double  a,
double  b,
double  c,
double  d 
)

Definition at line 233 of file poly_roots.cpp.

Referenced by mrpt::math::solve_poly4().

Here is the caller graph for this function:

◆ SolveP4Bi()

int SolveP4Bi ( double *  x,
double  b,
double  d 
)

Definition at line 95 of file poly_roots.cpp.

References CSqrt().

Referenced by SolveP4De().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SolveP4De()

int SolveP4De ( double *  x,
double  b,
double  c,
double  d 
)

Definition at line 152 of file poly_roots.cpp.

References CSqrt(), dblSort3(), mrpt::math::solve_poly3(), and SolveP4Bi().

Referenced by mrpt::math::solve_poly4().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SolveP5_1()

static double SolveP5_1 ( double  a,
double  b,
double  c,
double  d,
double  e 
)
static

Definition at line 289 of file poly_roots.cpp.

References eps, and F5.

Referenced by mrpt::math::solve_poly5().

Here is the caller graph for this function:

Variable Documentation

◆ eps

const double eps = 1e-14

Definition at line 22 of file poly_roots.cpp.

Referenced by mrpt::math::solve_poly2(), mrpt::math::solve_poly3(), and SolveP5_1().




Page generated by Doxygen 1.8.14 for MRPT 2.0.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020