struct GaussianRS

Overview

1-D Gaussian rejection sampler: proposal = Uniform[-5,5], target = N(0,1).

struct GaussianRS: public mrpt::bayes::CRejectionSamplingCapable
{
    // typedefs

    typedef CProbabilityParticle<double, STORAGE> TParticle;
};

Inherited Members

public:
    // methods

    std::vector<TParticle> rejectionSampling(size_t desiredSamples, size_t timeoutTrials = 1000);