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

#include <MRMesh/MRBestFitPolynomial.h>

Public Member Functions

template<typename NewT>
Polynomial< NewT, degree > cast () const
operator() (T x) const
std::vector< T > solve (T tol) const
Polynomial< T, degree==0 ? 0 :degree - 1 > deriv () const
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: