NormalToyMC¶
Description¶
Generates a random sample distributed according to multivariate normal distribution without correlations.
Uses boost::mt19937
random generator.
The sample becomes frozen upon generation. One has to manually taint the transformation
for the next sample by calling nextSample
method.
Inputs¶
Average model vector
.First model uncertainties vector
.Average model vector
.Second model uncertainties vector
.etc.
etc.
Inputs are added via add(theory, sigma)
method.
Outputs¶
'toymc'
— output vector of size of concatination of .
Implementation¶
For the random variable vector
One can define the vector
Since the transition Jacobian
The algorithm generates normal vector
By