pub fn permutation_entropy( binary_train: &[i32], order: usize, delay: usize, ) -> f64
Bandt-Pompe permutation entropy. Normalised to [0, 1].