Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
solvers.c File Reference
#include <math.h>
#include <pathplan/solvers.h>
Include dependency graph for solvers.c:

Go to the source code of this file.

Macros

#define M_PI   3.14159265358979323846
 
#define EPS   1E-7
 
#define AEQ0(x)   (((x) < EPS) && ((x) > -EPS))
 

Functions

static int solve1 (double *coeff, double *roots)
 
static int solve2 (double *coeff, double *roots)
 
int solve3 (double *coeff, double *roots)
 

Macro Definition Documentation

◆ AEQ0

#define AEQ0 (   x)    (((x) < EPS) && ((x) > -EPS))

Definition at line 23 of file solvers.c.

◆ EPS

#define EPS   1E-7

Definition at line 22 of file solvers.c.

◆ M_PI

#define M_PI   3.14159265358979323846

Definition at line 19 of file solvers.c.

Function Documentation

◆ solve1()

static int solve1 ( double *  coeff,
double *  roots 
)
static

Definition at line 91 of file solvers.c.

References AEQ0.

Referenced by solve2().

Here is the caller graph for this function:

◆ solve2()

static int solve2 ( double *  coeff,
double *  roots 
)
static

Definition at line 68 of file solvers.c.

References AEQ0, disc, and solve1().

Referenced by solve3().

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

◆ solve3()

int solve3 ( double *  coeff,
double *  roots 
)

Definition at line 25 of file solvers.c.

References AEQ0, alpha, disc, M_PI, and solve2().

Referenced by splineintersectsline().

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