8000 Make stack and concatenate compliant with numpy naming. by andrei-papou · Pull Request #850 · rust-ndarray/ndarray · GitHub
[go: up one dir, main page]

Skip to content

Make stack and concatenate compliant with numpy naming.#850

Merged
bluss merged 2 commits intorust-ndarray:masterfrom
andrei-papou:stack-concatenate-renaming
Nov 28, 2020
Merged

Make stack and concatenate compliant with numpy naming.#850
bluss merged 2 commits intorust-ndarray:masterfrom
andrei-papou:stack-concatenate-renaming

Conversation

@andrei-papou
Copy link
Contributor

This PR changes the naming used for stack/concatenate to be compliant with the one from numpy. In particular:

  • stack function and macro are now aliases to stack_new_axis. They join the arrays along a new axis.
  • the implementation of former stack function is now moved to the concatenate function. It is used to join the arrays along the existing axis.
  • stack function and macro are no longer deprecated.

This change is not backward-compatible and should be released within 0.14.

@andrei-papou andrei-papou changed the title Renamed stack and concatenate to be compliant with numpy naming. Make stack and concatenate compliant with numpy naming. Nov 24, 2020
@bluss
Copy link
Member
bluss commented Nov 28, 2020

Thanks, let's go for this in 0.14

@bluss bluss merged commit 716221c into rust-ndarray:master Nov 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0