SurgSim::Math::PolynomialRoots< T, N > Class Template Reference

The (algebraic) roots of a Polynomial<N,T>. More...

Detailed Description

template<typename T, int N>
class SurgSim::Math::PolynomialRoots< T, N >

The (algebraic) roots of a Polynomial<N,T>.

If all coefficients of a polynomial are 0, the roots are degenerate: the polynomial equals 0 for any x. Otherwise, there may be anywhere between 0 and N roots.

Template Parameters
Ttype of the coefficients and computations
Ndegree of the polynomial for which roots are being calculated
See also
PolynomialRootsCommon<T, N>

The documentation for this class was generated from the following file: