#include <iostream>
#include <algorithm>
#include "SurgSim/Math/Polynomial.h"
#include "SurgSim/Math/PolynomialRoots-inl.h"
Go to the source code of this file.
|
template<typename T , int N> |
void | SurgSim::Math::solve (const T &a, const T &b, const T &epsilon, int *numRoots, std::array< T, N > *roots) |
| Specialized solve routine for linear polynomials (2 coefficients) More...
|
|
template<typename T , int N> |
void | SurgSim::Math::solve (const T &a, const T &b, const T &c, const T &epsilon, int *numRoots, std::array< T, N > *roots) |
| Specialized solve routine for quadratic polynomials (3 coefficients) More...
|
|