Macros | Functions | Variables
poly34.cpp File Reference
#include <math.h>
#include "MathHelpers/Resectionsolver/poly34.h"
Include dependency graph for poly34.cpp:

Go to the source code of this file.

Macros

#define F5(t)   (((((t+a)*t+b)*t+c)*t+d)*t+e)
 
#define SWAP(a, b)   { t=b; b=a; a=t; }
 
#define TwoPi   6.28318530717958648
 

Functions

void CSqrt (double x, double y, double &a, double &b)
 
static void dblSort3 (double &a, double &b, double &c)
 
double N4Step (double x, double a, double b, double c, double d)
 
int Solve2 (double x0, double x1, double x2, double f0, double f1, double f2, double &r1, double &r2)
 
int SolveP3 (double *x, double a, double b, double c)
 
int SolveP4 (double *x, double a, double b, double c, double d)
 
int SolveP4Bi (double *x, double b, double d)
 
int SolveP4De (double *x, double b, double c, double d)
 
int SolveP5 (double *x, double a, double b, double c, double d, double e)
 
double SolveP5_1 (double a, double b, double c, double d, double e)
 

Variables

const double eps =1e-14
 

Macro Definition Documentation

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

Definition at line 224 of file poly34.cpp.

#define SWAP (   a,
 
)    { t=b; b=a; a=t; }

Definition at line 103 of file poly34.cpp.

#define TwoPi   6.28318530717958648

Definition at line 8 of file poly34.cpp.

Function Documentation

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

Definition at line 47 of file poly34.cpp.

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

Definition at line 104 of file poly34.cpp.

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

Definition at line 189 of file poly34.cpp.

int Solve2 ( double  x0,
double  x1,
double  x2,
double  f0,
double  f1,
double  f2,
double &  r1,
double &  r2 
)

Definition at line 292 of file poly34.cpp.

int SolveP3 ( double *  x,
double  a,
double  b,
double  c 
)

Definition at line 15 of file poly34.cpp.

int SolveP4 ( double *  x,
double  a,
double  b,
double  c,
double  d 
)

Definition at line 201 of file poly34.cpp.

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

Definition at line 59 of file poly34.cpp.

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

Definition at line 114 of file poly34.cpp.

int SolveP5 ( double *  x,
double  a,
double  b,
double  c,
double  d,
double  e 
)

Definition at line 279 of file poly34.cpp.

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

Definition at line 226 of file poly34.cpp.

Variable Documentation

const double eps =1e-14

Definition at line 9 of file poly34.cpp.



asr_mild_calibration_tool
Author(s): Aumann Florian, Heller Florian, Meißner Pascal
autogenerated on Mon Dec 2 2019 03:11:43