ylikx / forpy

Forpy - use Python from Fortran

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Do I need to import_py for numpy?

Lancashire3000 opened this issue · comments

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.