Function sampling::glue::derivative_merged_and_aligned
source · pub fn derivative_merged_and_aligned<H, Hist, T>(
log_prob: Vec<Vec<f64>>,
hists: &[H],
log_base: LogBase
) -> Result<Glued<Hist, T>, HistErrors>
Expand description
Calculate the probability density function from overlapping intervals
log_prob
is a vector of the logarithmic non-normalized probability densities
hists
is a vector of the corresponding histograms
LogBase
: Which base do the logarithmic probabilities have?
This uses a derivative merge, that works similar to: derivative_merged_log_prob_and_aligned
The Glued allows you to easily write the probability density function to a file