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

[C++][Python] Helper to generate boolean masks #44446

Open
amol- opened this issue Oct 16, 2024 · 0 comments
Open

[C++][Python] Helper to generate boolean masks #44446

amol- opened this issue Oct 16, 2024 · 0 comments

Comments

@amol-
Copy link
Member

amol- commented Oct 16, 2024

Describe the enhancement requested

In various conditions it would be helpful to be able to generate boolean masks that point to specific indices of an array.

For example it can be combined with if_else compute functions to merge two arrays by picking exactly which rows should come from each of one the arrays. Or combined with replace_with_mask to set rows in an array.

At the moment there is no easy way to create such a mask

Component(s)

C++, Python

@kou kou changed the title Helper to generate boolean masks [C++][Python] Helper to generate boolean masks Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant