TFCS1DFunctionRegression class

Base classes

class TFCS1DFunction

Derived classes

class TFCS1DFunctionRegressionTF

Public static functions

static auto sigmoid(double) -> double

Constructors, destructors, conversion operators

TFCS1DFunctionRegression()
~TFCS1DFunctionRegression()

Public functions

auto rnd_to_fct(double rnd) const -> double virtual
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
auto rnd_to_fct() const -> double pure virtual

Function documentation

double TFCS1DFunctionRegression::rnd_to_fct(double rnd) const virtual

Function gets random number rnd in the range [0,1) as argument and returns function value

void TFCS1DFunctionRegression::rnd_to_fct() const

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.

double TFCS1DFunctionRegression::rnd_to_fct() const pure virtual

Function gets random number rnd in the range [0,1) as argument and returns function value