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

Numpy -> nda::array cheat sheet? #63

Open
mgraczyk opened this issue Mar 4, 2022 · 0 comments
Open

Numpy -> nda::array cheat sheet? #63

mgraczyk opened this issue Mar 4, 2022 · 0 comments

Comments

@mgraczyk
Copy link

mgraczyk commented Mar 4, 2022

It would be very helpful to provide a cheat sheet table at the top of the array.h header file.
Something that shows how to do an equivalent numpy, Matlab, or Eigen operation using array.h

I was recently confused by slicing vs cropping. Something like this would help a lot

numpy nda::array
x[:, :, 0] x(_, _, 0)
x[:, :, [0]] x(_, _, range(0, 1))

etc

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

1 participant