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

Do I need to import_py for numpy? #42

Open
Lancashire3000 opened this issue Jan 14, 2022 · 0 comments
Open

Do I need to import_py for numpy? #42

Lancashire3000 opened this issue Jan 14, 2022 · 0 comments

Comments

@Lancashire3000
Copy link

Lancashire3000 commented Jan 14, 2022

From https://github.com/ylikx/forpy#creating-a-numpy-array-from-a-fortran-array
there is no import_py as in the datetime example https://github.com/ylikx/forpy#import-a-python-module-in-fortran, though I can work with the numpy-example and got

[[1. 2. 3.]
 [2. 4. 6.]]

output.

Do I need anything like import_py(numpy, "numpy") to work with numpy in forpy? Thank you very much.

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