calculate_relative_entropy

Function calculate_relative_entropy 

Source
pub fn calculate_relative_entropy<F>(ts: &Array1<F>, nbins: usize) -> Result<F>
where F: Float + FromPrimitive + Debug + Clone,
Expand description

Calculate relative entropy (KL divergence from uniform distribution)