QuantLib: a free/open-source library for quantitative finance
Reference manual - version 1.40
Loading...
Searching...
No Matches
SamplerRingGaussian Class Reference

Gaussian Ring Sampler. More...

#include <ql/experimental/math/hybridsimulatedannealingfunctors.hpp>

Public Member Functions

 SamplerRingGaussian (Array lower, Array upper, unsigned long seed=SeedGenerator::instance().get())
void operator() (Array &newPoint, const Array &currentPoint, const Array &temp)

Detailed Description

Gaussian Ring Sampler.

Sample from normal distribution, but constrained to lie within .boundaries. If the value ends up beyond the boundary, the value is circled back from the other side.