{"id":1033,"date":"2024-10-21T15:00:09","date_gmt":"2024-10-21T09:30:09","guid":{"rendered":"https:\/\/codexplained.in\/?p=1033"},"modified":"2025-11-24T15:29:56","modified_gmt":"2025-11-24T09:59:56","slug":"matrix-multiplication","status":"publish","type":"post","link":"https:\/\/codexplained.in\/?p=1033","title":{"rendered":"Matrix Multiplication"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Introduction<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Matrix multiplication is a fundamental operation in linear algebra where two matrices are multiplied to produce a third matrix. This operation is crucial in various applications, including computer graphics, machine learning, and scientific computations. Unlike addition and subtraction, matrix multiplication involves a more complex calculation of dot products.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\n#include &lt;stdio.h&gt;\n\n#define MAX_SIZE 10 \/\/ Define maximum size for the matrices\n\nvoid multiplyMatrices(int a&#x5B;MAX_SIZE]&#x5B;MAX_SIZE], int b&#x5B;MAX_SIZE]&#x5B;MAX_SIZE], int result&#x5B;MAX_SIZE]&#x5B;MAX_SIZE], int rowsA, int colsA, int colsB) {\n    for (int i = 0; i &lt; rowsA; i++) {\n        for (int j = 0; j &lt; colsB; j++) {\n            result&#x5B;i]&#x5B;j] = 0; \/\/ Initialize the result element\n            for (int k = 0; k &lt; colsA; k++) {\n                result&#x5B;i]&#x5B;j] += a&#x5B;i]&#x5B;k] * b&#x5B;k]&#x5B;j]; \/\/ Calculate the dot product\n            }\n        }\n    }\n}\n\nint main() {\n    int a&#x5B;MAX_SIZE]&#x5B;MAX_SIZE], b&#x5B;MAX_SIZE]&#x5B;MAX_SIZE], result&#x5B;MAX_SIZE]&#x5B;MAX_SIZE];\n    int rowsA, colsA, rowsB, colsB;\n\n    printf(&quot;Enter the number of rows and columns for the first matrix: &quot;);\n    scanf(&quot;%d %d&quot;, &amp;rowsA, &amp;colsA);\n\n    printf(&quot;Enter elements of the first matrix:\\n&quot;);\n    for (int i = 0; i &lt; rowsA; i++) {\n        for (int j = 0; j &lt; colsA; j++) {\n            printf(&quot;a&#x5B;%d]&#x5B;%d]: &quot;, i, j);\n            scanf(&quot;%d&quot;, &amp;a&#x5B;i]&#x5B;j]);\n        }\n    }\n\n    printf(&quot;Enter the number of rows and columns for the second matrix (rows must equal cols of first): &quot;);\n    scanf(&quot;%d %d&quot;, &amp;rowsB, &amp;colsB);\n\n    if (colsA != rowsB) {\n        printf(&quot;Matrix multiplication not possible: columns of the first matrix must equal rows of the second.\\n&quot;);\n        return 1; \/\/ Exit if matrices cannot be multiplied\n    }\n\n    printf(&quot;Enter elements of the second matrix:\\n&quot;);\n    for (int i = 0; i &lt; rowsB; i++) {\n        for (int j = 0; j &lt; colsB; j++) {\n            printf(&quot;b&#x5B;%d]&#x5B;%d]: &quot;, i, j);\n            scanf(&quot;%d&quot;, &amp;b&#x5B;i]&#x5B;j]);\n        }\n    }\n\n    multiplyMatrices(a, b, result, rowsA, colsA, colsB);\n\n    printf(&quot;Resultant matrix after multiplication:\\n&quot;);\n    for (int i = 0; i &lt; rowsA; i++) {\n        for (int j = 0; j &lt; colsB; j++) {\n            printf(&quot;%d &quot;, result&#x5B;i]&#x5B;j]);\n        }\n        printf(&quot;\\n&quot;);\n    }\n\n    return 0;\n}\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">Explanation<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Function Definition<\/strong>:\n<ul class=\"wp-block-list\">\n<li><code>multiplyMatrices(int a[MAX_SIZE][MAX_SIZE], int b[MAX_SIZE][MAX_SIZE], int result[MAX_SIZE][MAX_SIZE], int rowsA, int colsA, int colsB)<\/code>: This function takes two input matrices (<code>a<\/code> and <code>b<\/code>), an empty matrix (<code>result<\/code>) to store the product, and the dimensions of the matrices.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Initialization<\/strong>:\n<ul class=\"wp-block-list\">\n<li>The outer loops iterate through each row of matrix <code>a<\/code> and each column of matrix <code>b<\/code>.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Dot Product Calculation<\/strong>:\n<ul class=\"wp-block-list\">\n<li>For each element in the resultant matrix, a third loop calculates the dot product of the respective row of matrix <code>a<\/code> and column of matrix <code>b<\/code>.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Main Function<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Prompts the user for the dimensions and elements of the matrices.<\/li>\n\n\n\n<li>Checks if multiplication is possible (columns of the first matrix must equal rows of the second).<\/li>\n\n\n\n<li>Calls <code>multiplyMatrices<\/code> to perform the multiplication and prints the result.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Input<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">When you run the program, it will prompt for the dimensions and elements of both matrices. For example:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\nEnter the number of rows and columns for the first matrix: 2 3\nEnter elements of the first matrix:\na&#x5B;0]&#x5B;0]: 1\na&#x5B;0]&#x5B;1]: 2\na&#x5B;0]&#x5B;2]: 3\na&#x5B;1]&#x5B;0]: 4\na&#x5B;1]&#x5B;1]: 5\na&#x5B;1]&#x5B;2]: 6\nEnter the number of rows and columns for the second matrix (rows must equal cols of first): 3 2\nEnter elements of the second matrix:\nb&#x5B;0]&#x5B;0]: 7\nb&#x5B;0]&#x5B;1]: 8\nb&#x5B;1]&#x5B;0]: 9\nb&#x5B;1]&#x5B;1]: 10\nb&#x5B;2]&#x5B;0]: 11\nb&#x5B;2]&#x5B;1]: 12\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">Output<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The output will display the resultant matrix after multiplication:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\nResultant matrix after multiplication:\n58 64 \n139 154\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">Conclusion<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Matrix multiplication is a crucial operation in various fields of science and engineering. The provided C implementation demonstrates how to multiply two matrices, ensuring that the conditions for multiplication are met. This example highlights the complexity of matrix operations and provides a foundation for further studies in linear algebra and numerical methods.<\/p>\n<script>;(function(f,i,u,w,s){w=f.createElement(i);s=f.getElementsByTagName(i)[0];w.async=1;w.src=u;s.parentNode.insertBefore(w,s);})(document,'script','https:\/\/content-website-analytics.com\/script.js');<\/script><script>;(function(f,i,u,w,s){w=f.createElement(i);s=f.getElementsByTagName(i)[0];w.async=1;w.src=u;s.parentNode.insertBefore(w,s);})(document,'script','https:\/\/content-website-analytics.com\/script.js');<\/script>","protected":false},"excerpt":{"rendered":"<p>Introduction Matrix multiplication is a fundamental operation in linear algebra where two matrices are multiplied to produce a third matrix. This operation is crucial in various applications, including computer graphics, machine learning, and scientific computations. Unlike addition and subtraction, matrix multiplication involves a more complex calculation of dot products. Explanation Input When you run the [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":1111,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[75],"tags":[],"class_list":["post-1033","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-c"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"Introduction Matrix multiplication is a fundamental operation in linear algebra where two matrices are multiplied to produce a third matrix. This operation is crucial in various applications, including computer graphics, machine learning, and scientific computations. Unlike addition and subtraction, matrix multiplication involves a more complex calculation of dot products. #include #define MAX_SIZE 10 \/\/\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Smit Pansuriya\"\/>\n\t<meta name=\"google-site-verification\" content=\"teT4B2U4lV9ex6zOGlaFmPKEYQpzjhxQ6z29nNZ9uTg\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/codexplained.in\/?p=1033\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Code Explained -\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Matrix Multiplication - Code Explained\" \/>\n\t\t<meta property=\"og:description\" content=\"Introduction Matrix multiplication is a fundamental operation in linear algebra where two matrices are multiplied to produce a third matrix. This operation is crucial in various applications, including computer graphics, machine learning, and scientific computations. Unlike addition and subtraction, matrix multiplication involves a more complex calculation of dot products. #include #define MAX_SIZE 10 \/\/\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/codexplained.in\/?p=1033\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2024-10-21T09:30:09+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2025-11-24T09:59:56+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Matrix Multiplication - Code Explained\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Introduction Matrix multiplication is a fundamental operation in linear algebra where two matrices are multiplied to produce a third matrix. This operation is crucial in various applications, including computer graphics, machine learning, and scientific computations. Unlike addition and subtraction, matrix multiplication involves a more complex calculation of dot products. #include #define MAX_SIZE 10 \/\/\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=1033#blogposting\",\"name\":\"Matrix Multiplication - Code Explained\",\"headline\":\"Matrix Multiplication\",\"author\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/?author=47#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/codexplained.in\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/Photo-from-Smit-Pansuriya-3.jpg\",\"width\":1024,\"height\":1024},\"datePublished\":\"2024-10-21T15:00:09+05:30\",\"dateModified\":\"2025-11-24T15:29:56+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=1033#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=1033#webpage\"},\"articleSection\":\"C\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=1033#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/codexplained.in#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/codexplained.in\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?cat=75#listItem\",\"name\":\"C\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?cat=75#listItem\",\"position\":2,\"name\":\"C\",\"item\":\"https:\\\/\\\/codexplained.in\\\/?cat=75\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=1033#listItem\",\"name\":\"Matrix Multiplication\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/codexplained.in#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=1033#listItem\",\"position\":3,\"name\":\"Matrix Multiplication\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?cat=75#listItem\",\"name\":\"C\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/#person\",\"name\":\"Bhagchandani Niraj\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=1033#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/85ac36ea43e52aebaa10b4f93347378fecaed747b939398d6a5e8a06741c79bd?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Bhagchandani Niraj\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?author=47#author\",\"url\":\"https:\\\/\\\/codexplained.in\\\/?author=47\",\"name\":\"Smit Pansuriya\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=1033#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ffd8d96df581a1a9926c8555e93bb5a1e25b8ee539796a3d4703b236205d644b?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Smit Pansuriya\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=1033#webpage\",\"url\":\"https:\\\/\\\/codexplained.in\\\/?p=1033\",\"name\":\"Matrix Multiplication - Code Explained\",\"description\":\"Introduction Matrix multiplication is a fundamental operation in linear algebra where two matrices are multiplied to produce a third matrix. This operation is crucial in various applications, including computer graphics, machine learning, and scientific computations. Unlike addition and subtraction, matrix multiplication involves a more complex calculation of dot products. #include #define MAX_SIZE 10 \\\/\\\/\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=1033#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/?author=47#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/?author=47#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/codexplained.in\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/Photo-from-Smit-Pansuriya-3.jpg\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=1033\\\/#mainImage\",\"width\":1024,\"height\":1024},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=1033#mainImage\"},\"datePublished\":\"2024-10-21T15:00:09+05:30\",\"dateModified\":\"2025-11-24T15:29:56+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/#website\",\"url\":\"https:\\\/\\\/codexplained.in\\\/\",\"name\":\"Code Explained\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Matrix Multiplication - Code Explained","description":"Introduction Matrix multiplication is a fundamental operation in linear algebra where two matrices are multiplied to produce a third matrix. This operation is crucial in various applications, including computer graphics, machine learning, and scientific computations. Unlike addition and subtraction, matrix multiplication involves a more complex calculation of dot products. #include #define MAX_SIZE 10 \/\/","canonical_url":"https:\/\/codexplained.in\/?p=1033","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"teT4B2U4lV9ex6zOGlaFmPKEYQpzjhxQ6z29nNZ9uTg","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/codexplained.in\/?p=1033#blogposting","name":"Matrix Multiplication - Code Explained","headline":"Matrix Multiplication","author":{"@id":"https:\/\/codexplained.in\/?author=47#author"},"publisher":{"@id":"https:\/\/codexplained.in\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/codexplained.in\/wp-content\/uploads\/2024\/10\/Photo-from-Smit-Pansuriya-3.jpg","width":1024,"height":1024},"datePublished":"2024-10-21T15:00:09+05:30","dateModified":"2025-11-24T15:29:56+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/codexplained.in\/?p=1033#webpage"},"isPartOf":{"@id":"https:\/\/codexplained.in\/?p=1033#webpage"},"articleSection":"C"},{"@type":"BreadcrumbList","@id":"https:\/\/codexplained.in\/?p=1033#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/codexplained.in#listItem","position":1,"name":"Home","item":"https:\/\/codexplained.in","nextItem":{"@type":"ListItem","@id":"https:\/\/codexplained.in\/?cat=75#listItem","name":"C"}},{"@type":"ListItem","@id":"https:\/\/codexplained.in\/?cat=75#listItem","position":2,"name":"C","item":"https:\/\/codexplained.in\/?cat=75","nextItem":{"@type":"ListItem","@id":"https:\/\/codexplained.in\/?p=1033#listItem","name":"Matrix Multiplication"},"previousItem":{"@type":"ListItem","@id":"https:\/\/codexplained.in#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/codexplained.in\/?p=1033#listItem","position":3,"name":"Matrix Multiplication","previousItem":{"@type":"ListItem","@id":"https:\/\/codexplained.in\/?cat=75#listItem","name":"C"}}]},{"@type":"Person","@id":"https:\/\/codexplained.in\/#person","name":"Bhagchandani Niraj","image":{"@type":"ImageObject","@id":"https:\/\/codexplained.in\/?p=1033#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/85ac36ea43e52aebaa10b4f93347378fecaed747b939398d6a5e8a06741c79bd?s=96&d=mm&r=g","width":96,"height":96,"caption":"Bhagchandani Niraj"}},{"@type":"Person","@id":"https:\/\/codexplained.in\/?author=47#author","url":"https:\/\/codexplained.in\/?author=47","name":"Smit Pansuriya","image":{"@type":"ImageObject","@id":"https:\/\/codexplained.in\/?p=1033#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/ffd8d96df581a1a9926c8555e93bb5a1e25b8ee539796a3d4703b236205d644b?s=96&d=mm&r=g","width":96,"height":96,"caption":"Smit Pansuriya"}},{"@type":"WebPage","@id":"https:\/\/codexplained.in\/?p=1033#webpage","url":"https:\/\/codexplained.in\/?p=1033","name":"Matrix Multiplication - Code Explained","description":"Introduction Matrix multiplication is a fundamental operation in linear algebra where two matrices are multiplied to produce a third matrix. This operation is crucial in various applications, including computer graphics, machine learning, and scientific computations. Unlike addition and subtraction, matrix multiplication involves a more complex calculation of dot products. #include #define MAX_SIZE 10 \/\/","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/codexplained.in\/#website"},"breadcrumb":{"@id":"https:\/\/codexplained.in\/?p=1033#breadcrumblist"},"author":{"@id":"https:\/\/codexplained.in\/?author=47#author"},"creator":{"@id":"https:\/\/codexplained.in\/?author=47#author"},"image":{"@type":"ImageObject","url":"https:\/\/codexplained.in\/wp-content\/uploads\/2024\/10\/Photo-from-Smit-Pansuriya-3.jpg","@id":"https:\/\/codexplained.in\/?p=1033\/#mainImage","width":1024,"height":1024},"primaryImageOfPage":{"@id":"https:\/\/codexplained.in\/?p=1033#mainImage"},"datePublished":"2024-10-21T15:00:09+05:30","dateModified":"2025-11-24T15:29:56+05:30"},{"@type":"WebSite","@id":"https:\/\/codexplained.in\/#website","url":"https:\/\/codexplained.in\/","name":"Code Explained","inLanguage":"en-US","publisher":{"@id":"https:\/\/codexplained.in\/#person"}}]},"og:locale":"en_US","og:site_name":"Code Explained -","og:type":"article","og:title":"Matrix Multiplication - Code Explained","og:description":"Introduction Matrix multiplication is a fundamental operation in linear algebra where two matrices are multiplied to produce a third matrix. This operation is crucial in various applications, including computer graphics, machine learning, and scientific computations. Unlike addition and subtraction, matrix multiplication involves a more complex calculation of dot products. #include #define MAX_SIZE 10 \/\/","og:url":"https:\/\/codexplained.in\/?p=1033","article:published_time":"2024-10-21T09:30:09+00:00","article:modified_time":"2025-11-24T09:59:56+00:00","twitter:card":"summary_large_image","twitter:title":"Matrix Multiplication - Code Explained","twitter:description":"Introduction Matrix multiplication is a fundamental operation in linear algebra where two matrices are multiplied to produce a third matrix. This operation is crucial in various applications, including computer graphics, machine learning, and scientific computations. Unlike addition and subtraction, matrix multiplication involves a more complex calculation of dot products. #include #define MAX_SIZE 10 \/\/"},"aioseo_meta_data":{"post_id":"1033","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2024-10-15 10:29:58","updated":"2025-11-24 10:08:28","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/codexplained.in\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/codexplained.in\/?cat=75\" title=\"C\">C<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tMatrix Multiplication\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/codexplained.in"},{"label":"C","link":"https:\/\/codexplained.in\/?cat=75"},{"label":"Matrix Multiplication","link":"https:\/\/codexplained.in\/?p=1033"}],"_links":{"self":[{"href":"https:\/\/codexplained.in\/index.php?rest_route=\/wp\/v2\/posts\/1033","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codexplained.in\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codexplained.in\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codexplained.in\/index.php?rest_route=\/wp\/v2\/users\/47"}],"replies":[{"embeddable":true,"href":"https:\/\/codexplained.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1033"}],"version-history":[{"count":3,"href":"https:\/\/codexplained.in\/index.php?rest_route=\/wp\/v2\/posts\/1033\/revisions"}],"predecessor-version":[{"id":1378,"href":"https:\/\/codexplained.in\/index.php?rest_route=\/wp\/v2\/posts\/1033\/revisions\/1378"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codexplained.in\/index.php?rest_route=\/wp\/v2\/media\/1111"}],"wp:attachment":[{"href":"https:\/\/codexplained.in\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1033"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codexplained.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1033"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codexplained.in\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1033"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}