FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add `diff` method as an equivalent to `numpy.diff` by johann-cm · Pull Request #1437 · rust-ndarray/ndarray · GitHub

Add diff method as an equivalent to numpy.diff - #1437

Merged
nilgoyette merged 12 commits into
rust-ndarray:masterfrom
johann-cm:diff
Sep 26, 2024
Merged

Add diff method as an equivalent to numpy.diff#1437
nilgoyette merged 12 commits into
rust-ndarray:masterfrom
johann-cm:diff

Conversation

Copy link
Copy Markdown
Contributor

I've added a diff method to the ArrayBase struct, as the issue #787 requests.
I didn't include the numpy args prepend and append, as I think it's fine to let the user do the padding by them self.

Comment thread src/numeric/impl_numeric.rs Outdated
Comment thread tests/numeric.rs Outdated

Copy link
Copy Markdown
Collaborator

Thank you for your contribution @johann-cm.

nilgoyette merged commit fce6034 into rust-ndarray:master Sep 26, 2024
This file contains hidden or 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
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

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL