PolynomialRoots<T, 1> specializes the PolynomialRoots class for degree 1 (linear 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, 1 >
PolynomialRoots<T, 1> specializes the PolynomialRoots class for degree 1 (linear polynomials)
- See also
- PolynomialRoots<T, N>
◆ PolynomialRoots()
Constructor.
- Parameters
-
p | the degree 1 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: