pybind / pybind/pybind11

Feature request: numpy csr_matrix without Eigen

Open
#1,665 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
18k
Forks
2.3k
Avg merge
5d 17h
Merged PRs (30d)
10

Description

I've gotten something working

built like

used like

"check_" is forced to pass, so it's not ideal but it all seems to work anyway. I don't know what the conventions are here but I hope something like this could be merged eventually.

Ref:https://github.com/pybind/pybind11/issues/1022

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

Review example.cpp, numpy.h, and example.py to understand the existing Eigen-free csr_matrix implementation and how it is used. Compare it with the conventions discussed in pybind11 issue 1022, then define integration and validation expectations for supporting numpy csr_matrix without forcing check_ to pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, numpy, python
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.