This template implements gaussian normal distribution random number generator.
You can find more information in comments below. Overrided methods can be found in corresponding base class.
template<class FLOAT>
class TGauss : public IRandomizer<FLOAT>
{
public:
TGauss(const FLOAT mean = 0, const FLOAT sigma = 1);
TGauss(const FLOAT mean, const FLOAT sigma, const unsigned int seed);
FLOAT Generate() override;
void setParams(const FLOAT mean, const FLOAT sigma);
void setSeed(const unsigned int value);
void setRandomSeed();
};
Namespace: | nitisa::ai::randomizers |
Include: | Nitisa/Modules/AI/Randomizers.h |