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

Python: use numpy to wrap C++ arrays #3

Open
dbrnz opened this issue Sep 30, 2021 · 1 comment
Open

Python: use numpy to wrap C++ arrays #3

dbrnz opened this issue Sep 30, 2021 · 1 comment
Assignees
Milestone

Comments

@dbrnz
Copy link

dbrnz commented Sep 30, 2021

This should be self obvious. However for some reason Zinc's Python wrappers expose numerical arrays as Python lists, which IMHO is not the best way to do things, so raising this issue...

@agarny agarny self-assigned this Sep 30, 2021
@agarny agarny added the Python label Sep 30, 2021
@agarny agarny added this to the 0.1 milestone Sep 30, 2021
@agarny
Copy link
Contributor

agarny commented Sep 30, 2021

Yes, we definitely want to make our Python bindings feel "natural" and in this case I agree that this would indeed mean using numpy rather than a Python list.

@agarny agarny added the Task label Oct 7, 2021
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