[][src]Function tdb_core::utils::bigram

pub fn bigram<T: Copy>(a: &[T]) -> Vec<(T, T)>

Returns bigram bigram(&[1,2,3]) -> [(1,2), (2,3)]