Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function to combine nested arrays into multidimensional array #35170

Closed
ludwigwinkler opened this issue Mar 19, 2020 · 3 comments
Closed

Function to combine nested arrays into multidimensional array #35170

ludwigwinkler opened this issue Mar 19, 2020 · 3 comments

Comments

@ludwigwinkler
Copy link

Hi,

is technically feasible to add a function to combine an arbitrary combination of nested, arrays into a single multidimensional array?

Something akin to
data = [ [ones(13,14) for i in 1:12] for j in 1:11] -> combine to array of size (11, 12, 13, 14).

@fredrikekre
Copy link
Member

xref #21672, #27188, #31636

@mcabbott
Copy link
Contributor

Also on discourse, where I pushed LazyStack.jl as a package for this.

It also tries to cover reductions of generators, for which I now see #31644 too.

@ludwigwinkler
Copy link
Author

Closing since we migrated to gitlab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants