Skip to content
This repository was archived by the owner on Jul 28, 2026. It is now read-only.
This repository was archived by the owner on Jul 28, 2026. It is now read-only.

Can we specify Numpy array as the input? #581

Description

@jimlinntu

I saw this example in the README.md

@rjit('double(double, double)', 'int(int, int)')
def add(x, y):
    return x + y

Is it possible to rjit a function that has Numpy array inputs?

i.e. something like

@rjit('double[:](double[:], double[:])')
def add(x, y):
    return x + y

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions