0.3.0
Loading...
Searching...
No Matches
PolynomialRegressor.cpp
Go to the documentation of this file.
1// This file is part of INSTINCT, the INS Toolkit for Integrated
2// Navigation Concepts and Training by the Institute of Navigation of
3// the University of Stuttgart, Germany.
4//
5// This Source Code Form is subject to the terms of the Mozilla Public
6// License, v. 2.0. If a copy of the MPL was not distributed with this
7// file, You can obtain one at https://mozilla.org/MPL/2.0/.
8
10
11namespace NAV
12{
13
15{
16 switch (strategy)
17 {
19 return "Incremental Least Squares";
21 return "Least Squares";
23 return "Householder QR";
25 return "Bidiagonal Divide and Conquer SVD";
27 return "Complete Orthogonal Decomposition";
29 return "";
30 }
31 return "";
32}
33
34} // namespace NAV
Polynomial curve fitting.
Strategy
Possible Fit strategies.
@ BDCSVD
Bidiagonal Divide and Conquer SVD.
@ IncrementalLeastSquares
Incremental Least Squares (only polynomials of order <= 2)
@ COUNT
Amount of items in the enum.
@ HouseholderQR
Householder QR decomposition.
@ COD
Complete Orthogonal Decomposition.
@ LeastSquares
Least Squares (bas if even mildly ill-conditioned)
const char * to_string(gui::widgets::PositionWithFrame::ReferenceFrame refFrame)
Converts the enum to a string.