Skip to content

arg_equal_1d #163

Open
Open

Description

@flexatone

Given a 1D array and a value, return the indices where that values is found.

This is likely faster than the alternative of np.nonzero(a == val).

Activity

  1. linked a pull request that will close this issue`arg_equal_1d` #166on Jun 6, 2024
  2. flexatone commented on Jun 11, 2024

    @flexatone
    ContributorAuthor

    This proves too slow and too verbose in C. I might explore an implementation in Rust / PyO3.

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