Skip to content

Do I need to import_py for numpy? #42

Open
@Lancashire3000

Description

@Lancashire3000

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions