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

Implementation of numpy's meshgrid function for ndarray #1355

Open
jreniel opened this issue Feb 2, 2024 · 0 comments
Open

Implementation of numpy's meshgrid function for ndarray #1355

jreniel opened this issue Feb 2, 2024 · 0 comments

Comments

@jreniel
Copy link

jreniel commented Feb 2, 2024

I have made an attempt to try to replicate the core functionality of numpy's meshgrid function, using ndarray.
My attempt, which seems to be yielding identical results to the numpy version is hosted here.

My hope is that this function, or an equivalent, makes it to ndarray, since I feel like meshgrid is one of those core numpy functions that we tend to use repeatedly in my field, and it would be an invaluable addition to the ndarray crate.

To be clear, I'm asking to not necessarily use the same function that I've posted here, I'll be happy too if the ndarray devs implement a better solution. All I would like to see is to have this function be a part of the ndarray collection of functions.

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

No branches or pull requests

2 participants