pub fn compatible_layout<T>(a: &Array2<T>, b: &Array2<T>) -> bool
Check if two arrays have compatible memory layout for operations