scipp / scipp/scipp

Add bitwise operations?

Open
#3,304 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C++
Stars
146
Forks
23
Avg merge
2d 7h
Merged PRs (30d)
7

Description

Title says it all, currently code that needs this has to rely on NumPy. It should be simple to add things like >>, <<, ...

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing operator implementations and their tests, then compare the supported operations with the bitwise operators available through NumPy. Define the requested operators, including shifts such as >> and <<, and consider the work complete when they behave consistently with the existing array operations and are covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, numpy
Domain
data
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.