TFCS1DFunctionRegression class
#include <TFCS1DFunctionRegression.h>
Contents
Base classes
- class TFCS1DFunction
Derived classes
Public static functions
- static auto sigmoid(double) -> double
Constructors, destructors, conversion operators
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