MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::Polynomial< T, degree > Struct Template Reference

#include <MRBestFitPolynomial.h>

Public Member Functions

template<typename NewT >
Polynomial< NewT, degree > cast () const
 
MRMESH_API T operator() (T x) const
 
MRMESH_API std::vector< T > solve (T tol) const
 
MRMESH_API Polynomial< T, degree==0 ? 0 :degree - 1 > deriv () const
 
MRMESH_API T intervalMin (T a, T b) const
 

Public Attributes

MR_BIND_IGNORE Eigen::Vector< T, na
 We're not binding Eigen at the moment, so this has to be hidden.
 

Static Public Attributes

static constexpr size_t n = degree + 1
 

Detailed Description

template<typename T, size_t degree>
struct MR::Polynomial< T, degree >

Please note that these template classes are explicitly instantiated in the corresponding .cpp files. The following degrees are instantiated: [2; 6].


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