Skip to content

[FEAT] Adding vecdot implementation#86

Open
SwayamInSync wants to merge 3 commits into
numpy:mainfrom
SwayamInSync:vecdot
Open

[FEAT] Adding vecdot implementation#86
SwayamInSync wants to merge 3 commits into
numpy:mainfrom
SwayamInSync:vecdot

Conversation

@SwayamInSync
Copy link
Copy Markdown
Member

Implementing NumPy's vecdot for quaddtype

AI declaration:
Claude is used to extend test_dot.py for adding test related vecdot and possible edge cases

@SwayamInSync
Copy link
Copy Markdown
Member Author

This PR also adds some helpers and a new ufunc registering helper function, which will be use for register matvec and vecmat so I will make those PR after this gets merged

@SwayamInSync SwayamInSync requested a review from ngoldbaum May 12, 2026 15:48
Copy link
Copy Markdown
Member

@ngoldbaum ngoldbaum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good, a few comments below.

Comment thread src/csrc/umath/matmul.cpp
Comment thread src/csrc/umath/matmul.cpp Outdated
Comment thread src/csrc/umath/matmul.cpp Outdated
Comment thread tests/test_dot.py
@SwayamInSync
Copy link
Copy Markdown
Member Author

Thanks @ngoldbaum , I was thinking to re-patch this and #88 after #95
So if possible we you can next checkout #95 and then I will easily wire the rest ones in.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants