PolynomialRoots.h File Reference
`#include <iostream>`
`#include <algorithm>`
`#include "SurgSim/Math/Polynomial.h"`
`#include "SurgSim/Math/PolynomialRoots-inl.h"`

Go to the source code of this file.

## Classes

class | SurgSim::Math::PolynomialRoots< T, N >
| The (algebraic) roots of a Polynomial<N,T>. More...
class | SurgSim::Math::PolynomialRootsCommon< T, N >
| The common base class for PolynomialRoots specializations for various N. More...
class | SurgSim::Math::PolynomialRoots< T, 1 >
| PolynomialRoots<T, 1> specializes the PolynomialRoots class for degree 1 (linear polynomials) More...
class | SurgSim::Math::PolynomialRoots< T, 2 >
| PolynomialRoots<T, 2> specializes the PolynomialRoots class for degree 2 (quadratic polynomials) More...

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