pub fn glue_wl<WL, HIST, T>(
list: &[WL],
original_hist: &HIST
) -> Result<GlueResult<T>, GlueErrors> where
T: PartialOrd<T>,
WL: WangLandauHist<HIST>,
HIST: Histogram + HistogramVal<T>,
Expand description
list
: slice of Wang landau distributions
original_hist
has to contain all the borders of the histograms.
Meaning: The size of a bin has to be constant among all histograms of the list
.
If it is not, you might get an error, or you might get wrong results.
I do not check for this exaustingly.
- There is an easy way to make sure, that you don
t get problems here: Create the
original_histfirst. Then create the other Histograms using the
HistogramPartion` trait.
This is the intended way. But as long as the borders and bin sizes match, this function will work properly