Namespaces | Functions
PolynomialRoots-inl.h File Reference

Go to the source code of this file.

Namespaces

 SurgSim
 
 SurgSim::Math
 

Functions

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...