-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
stack(iterator_of_arrays)
(#43334)
* generalises `reduce(hcat, vector_of_vectors)` to handle more dimensions and handle iterators efficiently. * add `stack(f, xs) = stack(f(x) for x in xs)` * add doc and test * disallow stack on empty iterators * add NEWS and compat note
- Loading branch information
Showing
7 changed files
with
392 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -445,6 +445,7 @@ export | |
sortperm!, | ||
sortslices, | ||
dropdims, | ||
stack, | ||
step, | ||
stride, | ||
strides, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -145,6 +145,7 @@ Base.vcat | |
Base.hcat | ||
Base.hvcat | ||
Base.hvncat | ||
Base.stack | ||
Base.vect | ||
Base.circshift | ||
Base.circshift! | ||
|
Oops, something went wrong.