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

DOC: Formula used by np.dot for multidimensional arrays #18506

Open
CharlesAverill opened this issue Feb 27, 2021 · 3 comments
Open

DOC: Formula used by np.dot for multidimensional arrays #18506

CharlesAverill opened this issue Feb 27, 2021 · 3 comments
Labels
04 - Documentation 33 - Question Question about NumPy usage or development

Comments

@CharlesAverill
Copy link

Documentation

Hi there, I’m looking for the formula that numpy uses to calculate the inner product of multidimensional arrays. I found the C code that generates np.dot but I’m not as competent with C so I’m having a hard time deciphering it. Is there a well-known or at least named algorithm that numpy is using to calculate the inner product of any two given arrays?

Thank you!

@mattip mattip added the 33 - Question Question about NumPy usage or development label Feb 28, 2021
@yashasvimisra2798
Copy link
Contributor

I did like to work on this can somebody guide me on this?

@mattip
Copy link
Member

mattip commented Aug 8, 2021

The question needs an answer. @yashasvimisra2798 what have you tried in order to track down an answer and add it to the documentation? Maybe the current documentation for dot already has an answer. Maybe matmul could provide a clue.

@Arjun31415
Copy link

I would like to work on this.
I found that the implementation is in numpy/core/src/multiarray/multiarraymodule.c.

@InessaPawson InessaPawson changed the title Formula used by np.dot for multidimensional arrays DOC: Formula used by np.dot for multidimensional arrays Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
04 - Documentation 33 - Question Question about NumPy usage or development
Projects
None yet
Development

No branches or pull requests

4 participants