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

wrong formula #59

Open
heighgun opened this issue Mar 7, 2015 · 1 comment
Open

wrong formula #59

heighgun opened this issue Mar 7, 2015 · 1 comment

Comments

@heighgun
Copy link

heighgun commented Mar 7, 2015

I think matrix multiplication example in https://github.com/kushaldas/pym/blob/master/docs/datastructure.rst is wrong, should be like this:
c = []
for i in range(0, n):
c.append([])
for j in range(0, n):
c[i].append(sum([a[i][k] * b[k][j] for k in range(0, n)]))

@RaviTejaKomma
Copy link

Resolved this issue in #128

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

No branches or pull requests

2 participants