PolynomialValues<T, 2> specializes the PolynomialValues class for degree 2 (quadratic polynomials)
More...
#include <SurgSim/Math/PolynomialValues.h>
template<class T>
class SurgSim::Math::PolynomialValues< T, 2 >
PolynomialValues<T, 2> specializes the PolynomialValues class for degree 2 (quadratic polynomials)
- See also
- PolynomialValues<T, N>
§ PolynomialValues()
Constructor.
Initialize based on the polynomial p
- Parameters
-
p | polynomial on which the value calculations are based |
§ getDerivative()
- Returns
- the derivative of the polynomial basis for this calculation
§ getLocationsOfExtrema()
- Returns
- the locations of the extrema for the polynomial
§ getPolynomial()
- Returns
- the polynomial basis of this calculation
§ valuesOverInterval()
- Parameters
-
interval | an interval on the independent variable over which the values are to be calculated |
- Returns
- the minimum and maximum polynomial values over interval
§ m_derivative
Cached version of the derivative of the polynomial.
§ m_locationOfExtremum
Cached version of the locations of the extrema.
§ m_polynomial
The polynomial under consideration.
The documentation for this class was generated from the following files: