TFCS1DFunctionRegression class
#include <TFCS1DFunctionRegression.h>
Contents
Base classes
- class TFCS1DFunction
Derived classes
Public static functions
- static auto sigmoid(double) -> double
Constructors, destructors, conversion operators
- TFCS1DFunctionRegression() defaulted
- ~TFCS1DFunctionRegression() defaulted override
Public functions
- auto rnd_to_fct(double rnd) const -> double override
- auto regression_value(double uniform) const -> double
- void set_weights(const std::vector<std::vector<double>>& fWeightMatrix0to1, const std::vector<std::vector<double>>& fWeightMatrix1to2)
- void rnd_to_fct() const override
- auto rnd_to_fct() const -> double pure virtual
Function documentation
auto TFCS1DFunctionRegression:: rnd_to_fct(double rnd) const -> double override
Function gets random number rnd in the range [0,1) as argument and returns function value
void TFCS1DFunctionRegression:: rnd_to_fct() const override
Function gets array of random numbers rnd[] in the range [0,1) as arguments and returns function value in array value. For a n-dimensional function, value and rnd should both have n elements.
auto TFCS1DFunctionRegression:: rnd_to_fct() const -> double pure virtual
Function gets random number rnd in the range [0,1) as argument and returns function value