0

How to multiply two array in python

13th Jul 2017, 12:27 PM
Tanmay Sharma
Tanmay Sharma - avatar
2 Antworten
+ 4
By coding a customized function: there are many ways to implement multiplication of arrays ^^ Even if you mean matrix multiplication, there isn't once way ;P But in this case, you can find module to avoid writing your: try numpy, wich I think has... Anyway, it's not very hard to code yourself... I've not one on Python, but you can look at this one in JS: https://code.sololearn.com/WgiabA06ICbu/?ref=app
13th Jul 2017, 12:34 PM
visph
visph - avatar
+ 2
You can use the numpy module, instead to write the whole logic by yourself.
13th Jul 2017, 1:18 PM
Boris Batinkov
Boris Batinkov - avatar