#include <GteApprPolynomial2.h>
Public Member Functions | |
ApprPolynomial2 (int degree) | |
Real | Error (std::array< Real, 2 > const &observation) const |
Real | Evaluate (Real x) const |
bool | Fit (std::vector< std::array< Real, 2 >> const &observations, std::vector< int > const &indices) |
int | GetMinimumRequired () const |
std::vector< Real > const & | GetParameters () const |
std::array< Real, 2 > const & | GetXDomain () const |
Public Member Functions inherited from gte::ApprQuery< Real, ApprPolynomial2< Real >, std::array< Real, 2 > > | |
bool | Fit (std::vector< std::array< Real, 2 > > const &observations) |
bool | Fit (std::vector< std::array< Real, 2 > > const &observations, int const imin, int const imax) |
bool | Fit (std::vector< std::array< Real, 2 > > const &observations, std::vector< int > const &indices, int const numIndices) |
Private Attributes | |
int | mDegree |
std::vector< Real > | mParameters |
int | mSize |
std::array< Real, 2 > | mXDomain |
Additional Inherited Members | |
Static Public Member Functions inherited from gte::ApprQuery< Real, ApprPolynomial2< Real >, std::array< Real, 2 > > | |
static bool | RANSAC (ApprPolynomial2< Real > &candidateModel, std::vector< std::array< Real, 2 > > const &observations, int const numRequiredForGoodFit, Real const maxErrorForGoodFit, int const numIterations, std::vector< int > &bestConsensus, ApprPolynomial2< Real > &bestModel) |
Definition at line 40 of file GteApprPolynomial2.h.
gte::ApprPolynomial2< Real >::ApprPolynomial2 | ( | int | degree | ) |
Definition at line 77 of file GteApprPolynomial2.h.
Real gte::ApprPolynomial2< Real >::Error | ( | std::array< Real, 2 > const & | observation | ) | const |
Definition at line 167 of file GteApprPolynomial2.h.
Real gte::ApprPolynomial2< Real >::Evaluate | ( | Real | x | ) | const |
Definition at line 188 of file GteApprPolynomial2.h.
bool gte::ApprPolynomial2< Real >::Fit | ( | std::vector< std::array< Real, 2 >> const & | observations, |
std::vector< int > const & | indices | ||
) |
Definition at line 95 of file GteApprPolynomial2.h.
int gte::ApprPolynomial2< Real >::GetMinimumRequired | ( | ) | const |
Definition at line 89 of file GteApprPolynomial2.h.
std::vector< Real > const & gte::ApprPolynomial2< Real >::GetParameters | ( | ) | const |
Definition at line 176 of file GteApprPolynomial2.h.
std::array< Real, 2 > const & gte::ApprPolynomial2< Real >::GetXDomain | ( | ) | const |
Definition at line 182 of file GteApprPolynomial2.h.
|
private |
Definition at line 70 of file GteApprPolynomial2.h.
|
private |
Definition at line 72 of file GteApprPolynomial2.h.
|
private |
Definition at line 70 of file GteApprPolynomial2.h.
|
private |
Definition at line 71 of file GteApprPolynomial2.h.