From ND to 1D arrays,c = a.flatten()