SurgSim::Math::PolynomialValues< T, 0 > Class Template Reference

PolynomialValues<T, 0> specializes the PolynomialValues class for degree 0 (constant polynomials) More...

`#include <SurgSim/Math/PolynomialValues.h>`

## Public Member Functions

| PolynomialValues (const Polynomial< T, 0 > &p)
| Constructor. More...
const Polynomial< T, 0 > & | getPolynomial () const
Interval< T > | valuesOverInterval (const Interval< T > &interval) const

## Private Attributes

Polynomial< T, 0 > | m_polynomial
| The polynomial under consideration. More...

## Detailed Description

### template<class T>
class SurgSim::Math::PolynomialValues< T, 0 >

PolynomialValues<T, 0> specializes the PolynomialValues class for degree 0 (constant polynomials)

See also
  PolynomialValues<T, N>

## Constructor & Destructor Documentation

## PolynomialValues()

template<class T >

SurgSim::Math::PolynomialValues< T, 0 >::PolynomialValues | ( | const Polynomial< T, 0 > & | p | ) |

explicit

Constructor.

Initialize based on the polynomial p

Parameters

  p | polynomial on which the value calculations are based

## Member Function Documentation

## getPolynomial()

template<class T >

const Polynomial< T, 0 > & SurgSim::Math::PolynomialValues< T, 0 >::getPolynomial | ( |  | ) | const

Returns
  the polynomial basis of this calculation

## valuesOverInterval()

template<class T >

Interval< T > SurgSim::Math::PolynomialValues< T, 0 >::valuesOverInterval | ( | const Interval< T > & | interval | ) | const

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

## Member Data Documentation

## m_polynomial

template<class T >

Polynomial<T, 0> SurgSim::Math::PolynomialValues< T, 0 >::m_polynomial

private

The polynomial under consideration.

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

- SurgSim/Math/PolynomialValues.h
- SurgSim/Math/PolynomialValues-inl.h