Chi2fit.MonteCarlo.mc
You're seeing just the function
mc
, go back to Chi2fit.MonteCarlo module for more information.
Specs
mc( iterations :: pos_integer(), fun :: (pos_integer() -> float()), options :: Keyword.t() ) :: {avg :: float(), sd :: float(), tries :: [float()]} | {avg :: float(), sd :: float()}
Basic Monte Carlo simulation to repeatedly run a simulation multiple times.
Options
`:collect_all?` - If true, collects data from each individual simulation run and returns this an the third element of the result tuple