0.2.0
Loading...
Searching...
No Matches
PolynomialRegressor.hpp File Reference

Polynomial curve fitting. More...

Go to the source code of this file.

Classes

class  NAV::PolynomialRegressor< Scalar >
 Polynomial Curve Fitting. More...
 

Typedefs

using json
 json namespace
 

Functions

template<typename Scalar = double>
void NAV::from_json (const json &j, PolynomialRegressor< Scalar > &obj)
 Converts the provided json object into a node object.
 
template<typename Scalar = double>
void NAV::to_json (json &j, const PolynomialRegressor< Scalar > &obj)
 Converts the provided object into json.
 
const char * NAV::to_string (PolynomialRegressor<>::Strategy strategy)
 Converts the enum to a string.
 

Detailed Description

Polynomial curve fitting.

Author
T. Topp (topp@.nosp@m.ins..nosp@m.uni-s.nosp@m.tutt.nosp@m.gart..nosp@m.de)
Date
2023-10-23

Function Documentation

◆ from_json()

template<typename Scalar = double>
void NAV::from_json ( const json & j,
PolynomialRegressor< Scalar > & obj )

Converts the provided json object into a node object.

Parameters
[in]jJson object with the needed values
[out]objObject to fill from the json

◆ to_json()

template<typename Scalar = double>
void NAV::to_json ( json & j,
const PolynomialRegressor< Scalar > & obj )

Converts the provided object into json.

Parameters
[out]jJson object which gets filled with the info
[in]objObject to convert into json

◆ to_string()

const char * NAV::to_string ( PolynomialRegressor<>::Strategy strategy)

Converts the enum to a string.

Parameters
[in]strategyEnum value to convert into text
Returns
String representation of the enum