MRSL Motion Primitive Library
1.2
A motion primitive library for generating trajectory for mobile robots
|
Polynomial roots solver. More...
Go to the source code of this file.
Functions | |
decimal_t | normalize_angle (decimal_t angle) |
std::vector< decimal_t > | quad (decimal_t b, decimal_t c, decimal_t d) |
Quadratic equation: . | |
std::vector< decimal_t > | cubic (decimal_t a, decimal_t b, decimal_t c, decimal_t d) |
Cubic equation: . | |
std::vector< decimal_t > | quartic (decimal_t a, decimal_t b, decimal_t c, decimal_t d, decimal_t e) |
Quartic equation: . | |
std::vector< decimal_t > | solve (decimal_t a, decimal_t b, decimal_t c, decimal_t d, decimal_t e) |
General solver for . More... | |
std::vector< decimal_t > | solve (decimal_t a, decimal_t b, decimal_t c, decimal_t d, decimal_t e, decimal_t f) |
General solver for . | |
std::vector< decimal_t > | solve (decimal_t a, decimal_t b, decimal_t c, decimal_t d, decimal_t e, decimal_t f, decimal_t g) |
General solver for . | |
int | factorial (int n) |
Return . | |
decimal_t | power (decimal_t t, int n) |
Return . | |
template<typename Derived > | |
Derived::PlainObject | pseudoInverse (Eigen::MatrixBase< Derived > const &m) |
template<typename Derived > | |
Derived::PlainObject | matrixSquareRoot (Eigen::MatrixBase< Derived > const &mat, bool semidefinite_mat=false) |
Polynomial roots solver.
Solving real roots for n-th order polynomial: if n < 5, the closed form solution will be calculated; if n >= 5, using Eigen Polynomials solver which is slower but correct.