Graphviz 16.1.3~dev.20261121.1645
Loading...
Searching...
No Matches
solvers.c File Reference
#include "config.h"
#include <math.h>
#include <pathplan/solvers.h>
#include <stdbool.h>
Include dependency graph for solvers.c:

Go to the source code of this file.

Macros

#define M_PI   3.14159265358979323846
 

Functions

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

Macro Definition Documentation

◆ M_PI

#define M_PI   3.14159265358979323846

Definition at line 21 of file solvers.c.

Function Documentation

◆ aeq0()

static bool aeq0 ( double  a)
static

Definition at line 24 of file solvers.c.

References EPS.

Referenced by solve1(), solve2(), and solve3().

Here is the caller graph for this function:

◆ solve1()

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

Definition at line 93 of file solvers.c.

References aeq0().

Referenced by solve2().

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

◆ solve2()

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

Definition at line 71 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 29 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: