FCL
0.6.0
Flexible Collision Library
|
A class solves polynomial degree (1,2,3) equations. More...
#include <polysolver.h>
Static Public Member Functions | |
static int | solveLinear (S c[2], S s[1]) |
Solve a linear equation with coefficients c, return roots s and number of roots. | |
static int | solveQuadric (S c[3], S s[2]) |
Solve a quadratic function with coefficients c, return roots s and number of roots. | |
static int | solveCubic (S c[4], S s[3]) |
Solve a cubic function with coefficients c, return roots s and number of roots. | |
A class solves polynomial degree (1,2,3) equations.