This is a unifying interface for a polynomial of some degree, known only in runtime. More...
#include <MRBestFitPolynomial.h>
Public Member Functions | |
template<size_t degree> | |
PolynomialWrapper (const Polynomial< T, degree > &p) | |
MRMESH_API T | operator() (T x) const |
MRMESH_API PolynomialWrapper< T > | deriv () const |
MRMESH_API std::optional< T > | intervalMin (T a, T b) const |
Public Attributes | |
Polynomialx< T > | poly |
This is a unifying interface for a polynomial of some degree, known only in runtime.
|
inline |
MRMESH_API PolynomialWrapper< T > MR::PolynomialWrapper< T >::deriv | ( | ) | const |
MRMESH_API std::optional< T > MR::PolynomialWrapper< T >::intervalMin | ( | T | a, |
T | b ) const |
MRMESH_API T MR::PolynomialWrapper< T >::operator() | ( | T | x | ) | const |
Polynomialx<T> MR::PolynomialWrapper< T >::poly |