Open heighgun opened 9 years ago
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)]))
Resolved this issue in #128
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)]))