pub fn generalize<A, S, D>(a: Array<A, D>) -> ArrayBase<S, D>where S: DataOwned<Elem = A>, D: Dimension,