PolynomialRoots<T, 2> specializes the PolynomialRoots class for degree 2 (quadratic polynomials)
More...
#include <SurgSim/Math/PolynomialRoots.h>
|
| static const int | DEGENERATE |
| | Indicator for a degenerate polynomial (infinite number of roots). More...
|
| |
| | PolynomialRootsCommon () |
| | Constructor. Since the constructor must define the roots, only allow construction from a derived class. More...
|
| |
| int | m_numRoots |
| | The number of roots available for the polynomial, or DEGENERATE if there are infinite roots. More...
|
| |
| std::array< T, N > | m_roots |
| | An array of up to N roots for a degree N polynomial ordered ascendingly. More...
|
| |
template<typename T>
class SurgSim::Math::PolynomialRoots< T, 2 >
PolynomialRoots<T, 2> specializes the PolynomialRoots class for degree 2 (quadratic polynomials)
- See also
- PolynomialRoots<T, N>
◆ PolynomialRoots()
Constructor.
- Parameters
-
| p | the degree 2 polynomial for which the roots are to be calculated |
| epsilon | tolerance parameter for determining the number of valid, unique roots |
The documentation for this class was generated from the following files: