{"id":1519,"date":"2023-05-21T08:33:16","date_gmt":"2023-05-21T08:33:16","guid":{"rendered":"https:\/\/itnotes.apjsoftwares.com\/?p=1519"},"modified":"2023-05-21T08:33:16","modified_gmt":"2023-05-21T08:33:16","slug":"write-code-for-matrix-multiplication","status":"publish","type":"post","link":"https:\/\/itnotes.apjsoftwares.in\/index.php\/2023\/05\/21\/write-code-for-matrix-multiplication\/","title":{"rendered":"Write code for matrix multiplication"},"content":{"rendered":"\n<p>Code for matrix multiplication<\/p>\n\n\n\n<p>import numpy as np<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">M1 = np.array([[3, 6], [5, -10]])\nM2 = np.array([[9, -18], [11, 22]])\nM3 = M1.dot(M2)  \nprint(M3)<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Code for matrix multiplication import numpy as np M1 = np.array([[3, 6], [5, -10]]) M2&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[20],"tags":[],"_links":{"self":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts\/1519"}],"collection":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/comments?post=1519"}],"version-history":[{"count":1,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts\/1519\/revisions"}],"predecessor-version":[{"id":1520,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts\/1519\/revisions\/1520"}],"wp:attachment":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/media?parent=1519"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/categories?post=1519"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/tags?post=1519"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}