#include <GteApprPolynomialSpecial3.h>
Public Member Functions | |
ApprPolynomialSpecial3 (std::vector< int > const &xDegrees, std::vector< int > const &yDegrees) | |
Real | Error (std::array< Real, 3 > const &observation) const |
Real | Evaluate (Real x, Real y) const |
bool | Fit (std::vector< std::array< Real, 3 >> const &observations, std::vector< int > const &indices) |
int | GetMinimumRequired () const |
std::vector< Real > const & | GetParameters () const |
std::array< Real, 2 > const & | GetXDomain () const |
std::array< Real, 2 > const & | GetYDomain () const |
Public Member Functions inherited from gte::ApprQuery< Real, ApprPolynomialSpecial3< Real >, std::array< Real, 3 > > | |
bool | Fit (std::vector< std::array< Real, 3 > > const &observations) |
bool | Fit (std::vector< std::array< Real, 3 > > const &observations, int const imin, int const imax) |
bool | Fit (std::vector< std::array< Real, 3 > > const &observations, std::vector< int > const &indices, int const numIndices) |
Private Member Functions | |
bool | DoLeastSquares (std::vector< std::array< Real, 3 >> &transformed) |
void | Transform (std::vector< std::array< Real, 3 >> const &observations, std::vector< int > const &indices, std::vector< std::array< Real, 3 >> &transformed) |
Private Attributes | |
Real | mInvTwoWScale |
std::vector< Real > | mParameters |
std::array< Real, 3 > | mScale |
std::array< Real, 2 > | mWDomain |
std::vector< int > | mXDegrees |
std::array< Real, 2 > | mXDomain |
std::vector< Real > | mXPowers |
std::vector< int > | mYDegrees |
std::array< Real, 2 > | mYDomain |
std::vector< Real > | mYPowers |
Additional Inherited Members | |
Static Public Member Functions inherited from gte::ApprQuery< Real, ApprPolynomialSpecial3< Real >, std::array< Real, 3 > > | |
static bool | RANSAC (ApprPolynomialSpecial3< Real > &candidateModel, std::vector< std::array< Real, 3 > > const &observations, int const numRequiredForGoodFit, Real const maxErrorForGoodFit, int const numIterations, std::vector< int > &bestConsensus, ApprPolynomialSpecial3< Real > &bestModel) |
Definition at line 25 of file GteApprPolynomialSpecial3.h.
gte::ApprPolynomialSpecial3< Real >::ApprPolynomialSpecial3 | ( | std::vector< int > const & | xDegrees, |
std::vector< int > const & | yDegrees | ||
) |
Definition at line 85 of file GteApprPolynomialSpecial3.h.
|
private |
Definition at line 274 of file GteApprPolynomialSpecial3.h.
Real gte::ApprPolynomialSpecial3< Real >::Error | ( | std::array< Real, 3 > const & | observation | ) | const |
Definition at line 161 of file GteApprPolynomialSpecial3.h.
Real gte::ApprPolynomialSpecial3< Real >::Evaluate | ( | Real | x, |
Real | y | ||
) | const |
Definition at line 188 of file GteApprPolynomialSpecial3.h.
bool gte::ApprPolynomialSpecial3< Real >::Fit | ( | std::vector< std::array< Real, 3 >> const & | observations, |
std::vector< int > const & | indices | ||
) |
Definition at line 142 of file GteApprPolynomialSpecial3.h.
int gte::ApprPolynomialSpecial3< Real >::GetMinimumRequired | ( | ) | const |
Definition at line 136 of file GteApprPolynomialSpecial3.h.
std::vector< Real > const & gte::ApprPolynomialSpecial3< Real >::GetParameters | ( | ) | const |
Definition at line 170 of file GteApprPolynomialSpecial3.h.
std::array< Real, 2 > const & gte::ApprPolynomialSpecial3< Real >::GetXDomain | ( | ) | const |
Definition at line 176 of file GteApprPolynomialSpecial3.h.
std::array< Real, 2 > const & gte::ApprPolynomialSpecial3< Real >::GetYDomain | ( | ) | const |
Definition at line 182 of file GteApprPolynomialSpecial3.h.
|
private |
Definition at line 222 of file GteApprPolynomialSpecial3.h.
|
private |
Definition at line 75 of file GteApprPolynomialSpecial3.h.
|
private |
Definition at line 67 of file GteApprPolynomialSpecial3.h.
|
private |
Definition at line 74 of file GteApprPolynomialSpecial3.h.
|
private |
Definition at line 73 of file GteApprPolynomialSpecial3.h.
|
private |
Definition at line 66 of file GteApprPolynomialSpecial3.h.
|
private |
Definition at line 73 of file GteApprPolynomialSpecial3.h.
|
mutableprivate |
Definition at line 80 of file GteApprPolynomialSpecial3.h.
|
private |
Definition at line 66 of file GteApprPolynomialSpecial3.h.
|
private |
Definition at line 73 of file GteApprPolynomialSpecial3.h.
|
mutableprivate |
Definition at line 80 of file GteApprPolynomialSpecial3.h.