#include <PolynomialLeastSquaresFitting.h>
|
| void | AddBoundaryCondition (std::pair< double, double > boundaryCondition) |
| | Adds a pair of x and y coordinates that should be matched by the polynomial. More...
|
| |
| void | AddBoundaryCondition (double x, double y) |
| | Adds a pair of x and y coordinates that should be matched by the polynomial. More...
|
| |
| void | BuildDerived () |
| | determine regression parameters More...
|
| |
| Eigen::VectorXd | GetPolynomialCoefficients () const |
| | Gets the calculated polynomial coefficients. More...
|
| |
| void | SetDegree (int degree) |
| | Sets the degree of the polynomial. More...
|
| |
| void | SolveTransformed (const Eigen::MatrixXd &inputCoordinates, Eigen::MatrixXd &outputCoordinates) const |
| | calculate approximation (in transformed space) More...
|
| |
| void | SetSupportPoints (int dimInput, int dimOutput, Eigen::MatrixXd inputCoordinates, Eigen::MatrixXd outputCoordinates) |
| |
| void PolynomialLeastSquaresFitting::AddBoundaryCondition |
( |
std::pair< double, double > |
boundaryCondition | ) |
|
Adds a pair of x and y coordinates that should be matched by the polynomial.
- Parameters
-
| boundaryCondition | a pair of x and y coordinates that should be matched by the polynomial |
| void PolynomialLeastSquaresFitting::AddBoundaryCondition |
( |
double |
x, |
|
|
double |
y |
|
) |
| |
Adds a pair of x and y coordinates that should be matched by the polynomial.
- Parameters
-
| x | the x value of the boundary condition |
| y | the y value of the boundary condition |
| void PolynomialLeastSquaresFitting::BuildDerived |
( |
| ) |
|
determine regression parameters
| Eigen::VectorXd PolynomialLeastSquaresFitting::GetPolynomialCoefficients |
( |
| ) |
const |
Gets the calculated polynomial coefficients.
- Returns
- polynomial coefficients
| void PolynomialLeastSquaresFitting::SetDegree |
( |
int |
degree | ) |
|
Sets the degree of the polynomial.
- Parameters
-
| degree | degree of the polynomial |
| void PolynomialLeastSquaresFitting::SetSupportPoints |
( |
int |
dimInput, |
|
|
int |
dimOutput, |
|
|
Eigen::MatrixXd |
inputCoordinates, |
|
|
Eigen::MatrixXd |
outputCoordinates |
|
) |
| |
| void PolynomialLeastSquaresFitting::SolveTransformed |
( |
const Eigen::MatrixXd & |
inputCoordinates, |
|
|
Eigen::MatrixXd & |
outputCoordinates |
|
) |
| const |
calculate approximation (in transformed space)
- Parameters
-
| inputCoordinates | matrix of input data points (transformed) |
| outputCoordinates | vector of output data (transformed) |
The documentation for this class was generated from the following files: