{"id":627,"date":"2009-03-20T14:35:12","date_gmt":"2009-03-20T06:35:12","guid":{"rendered":"http:\/\/www.slyar.com\/blog\/?p=627"},"modified":"2014-04-22T14:02:47","modified_gmt":"2014-04-22T06:02:47","slug":"matrixmutiply-c","status":"publish","type":"post","link":"http:\/\/www.slyar.com\/blog\/matrixmutiply-c.html","title":{"rendered":"\u77e9\u9635\u4e58\u6cd5C\u8bed\u8a00\u5b9e\u73b0"},"content":{"rendered":"<p>\u6587\u7ae0\u4f5c\u8005\uff1a<span style=\"color: #0000ff;\">\u59dc\u5357(Slyar) <\/span>\u6587\u7ae0\u6765\u6e90\uff1aSlyar Home (<a title=\"Slyar\" href=\"http:\/\/www.slyar.com\" target=\"_blank\">www.slyar.com<\/a>) \u8f6c\u8f7d\u8bf7\u6ce8\u660e\uff0c\u8c22\u8c22\u5408\u4f5c\u3002<\/p>\n<p>\u8fd9\u6bb5\u4ee3\u7801\u662f\u6211\u521a\u5199\u7684\uff0c\u4e0d\u662f\u4ec0\u4e48\u6280\u5de7\u6027\u5f88\u5f3a\u7684\u4e1c\u897f\uff0c\u5b8c\u5168\u90fd\u662f\u57fa\u7840\u3002\u4e0a\u5348\u7ebf\u6027\u4ee3\u6570\u8bb2\u4e86\u77e9\u9635\u4e58\u6cd5\uff0c\u4e0b\u5348\u6ca1\u8bfe\uff0c\u5bfb\u601d\u7740\u81ea\u5df1\u4e5f\u597d\u4e45\u6ca1\u5199\u7a0b\u5e8f\u4e86\uff0c\u4e0d\u5982\u5c31\u62ff\u77e9\u9635\u4e58\u6cd5\u5f00\u5200\uff0c\u719f\u6089\u4e00\u4e0bC\u8bed\u8a00...\u987a\u4fbf\u4e5f\u53ef\u4ee5\u7528\u6765\u505a\u7ebf\u6027\u4ee3\u6570\u7684\u4f5c\u4e1a...=_=<\/p>\n<p>\u6069\uff0c\u4ee3\u7801\u6709\u4e9b\u957f\uff0c\u6211\u53ea\u662f\u60f3\u591a\u56de\u987e\u4e00\u4e0b\u4ee5\u524d\u7684\u77e5\u8bc6...\u8fd9\u6bb5\u4ee3\u7801\u7528\u5230\u4e86\u51fd\u6570\u3001\u6307\u5411\u6307\u9488\u7684\u6307\u9488\u3001\u51fd\u6570\u6307\u9488\u3001\u6587\u4ef6\u64cd\u4f5c...\u52a0\u4e86\u6ce8\u91ca\u65b9\u4fbf\u9700\u8981\u7684\u7ae5\u978b\u7406\u89e3...<\/p>\n<p>\u4ee3\u7801\u53ef\u80fd\u8fd8\u4e0d\u5b8c\u5584...\u4ee5\u540e\u5b66\u5f97\u66f4\u591a\u4e86\u518d\u6539\u5427...<\/p>\n<p>2009.3.23\u00a0\u00a0\u00a0 \u589e\u52a0\u5185\u5b58\u91ca\u653e\u51fd\u6570<\/p>\n<pre lang=\"c\" line=\"1\">\r\n\/*\r\n\u77e9\u9635\u4e58\u6cd5C\u8bed\u8a00\u5b9e\u73b0\r\nSlyar 2009.3.20\r\n*\/\r\n\r\n#include <stdio.h>\r\n#include <stdlib.h>\r\n\r\n\/* \u7ed9 int \u7c7b\u578b\u5b9a\u4e49\u522b\u540d datatype *\/\r\ntypedef int datatype;\r\n\r\n\/* \u51fd\u6570\u58f0\u660e\u90e8\u5206 *\/\r\ndatatype** Create(int m, int n);\r\nvoid Reset(datatype**, int, int);\r\nvoid Input(datatype**, int, int);\r\nvoid Output(datatype**, int, int);\r\nvoid MatrixMutiply(datatype**, datatype**, datatype**);\r\nvoid MatrixFree(datatype** , int);\r\n\r\n\/* \u5b9a\u4e49\u4e09\u4e2a\u77e9\u9635\u7684\u884c\u5217\u5927\u5c0f *\/\r\nint row_a, col_a;\r\nint row_b, col_b;\r\nint row_c, col_c;\r\n\r\n\/* \u5b9a\u4e49\u6587\u4ef6\u6307\u9488 *\/\r\nFILE *fp;\r\n\r\nint main()\r\n{\r\n        int i;\r\n        datatype **a, **b, **c;\r\n       \r\n        \/* \u4ee5\u53ea\u8bfb\u65b9\u5f0f\u6253\u5f00\u8f93\u5165\u6587\u4ef6 in.txt *\/\r\n        if((fp = fopen(\"in.txt\",\"r\")) == NULL)\r\n        {\r\n                printf(\"Cannot open this file.\\n\");\r\n                exit(0);\r\n        }\r\n       \r\n        \/* \u521b\u5efa\u5e76\u8bfb\u5165\u77e9\u9635a *\/\r\n        fscanf(fp,\"%d%d\", &row_a, &col_a);\r\n        a=Create(row_a, col_a);\r\n        Input(a,row_a, col_a);\r\n       \r\n        \/* \u521b\u5efa\u5e76\u8bfb\u5165\u77e9\u9635b *\/\r\n        fscanf(fp,\"%d%d\", &row_b, &col_b);\r\n        b = Create(row_b, col_b);\r\n        Input(b,row_b, col_b);\r\n       \r\n        \/* \u5173\u95ed\u8f93\u5165\u6587\u4ef6 *\/\r\n        fclose(fp);\r\n       \r\n        \/* \u4ee5\u5199\u5165\u65b9\u5f0f\u6253\u5f00\u8f93\u51fa\u6587\u4ef6 out.txt *\/\r\n        if((fp = fopen(\"out.txt\",\"w\")) == NULL)\r\n        {\r\n                printf(\"Cannot open this file.\\n\");\r\n                exit(0);\r\n        }\r\n       \r\n        \/* \u5224\u65ad\u4e24\u4e2a\u77e9\u9635\u80fd\u5426\u76f8\u4e58 *\/\r\n        if(col_a == row_b)\r\n        {\r\n                row_c = row_a;\r\n                col_c = col_b;\r\n        }\r\n        else\r\n        {\r\n                fprintf(fp,\"Matrix Can't Mutiply !\\n\");\r\n                exit(0);\r\n        }\r\n       \r\n        \/* \u521b\u5efa\u5e76\u521d\u59cb\u5316\u7ed3\u679c\u77e9\u9635c *\/\r\n        c = Create(row_c, col_c);\r\n        Reset(c, row_c, col_c);\r\n       \r\n        \/* \u8fdb\u884c\u77e9\u9635\u4e58\u6cd5\u8fd0\u7b97 *\/\r\n        MatrixMutiply(a, b, c);\r\n       \r\n        \/* \u8f93\u51fa\u7ed3\u679c\u77e9\u9635C *\/\r\n        Output(c, row_c, col_c);\r\n       \r\n        \/* \u5173\u95ed\u8f93\u51fa\u6587\u4ef6 *\/\r\n        fclose(fp);\r\n\r\n        \/* \u91ca\u653e\u77e9\u9635\u5185\u5b58 *\/\r\n        MatrixFree(a,row_a);\r\n        MatrixFree(b,row_b);\r\n        MatrixFree(c,row_c);\r\n       \r\n        \/\/system(\"pause\");\r\n        return 0;\r\n}\r\n\r\n\/* \u4e3a\u77e9\u9635\u52a8\u6001\u5206\u914d\u5185\u5b58\u7684\u51fd\u6570 *\/\r\ndatatype** Create(int m, int n)\r\n{\r\n        int i;\r\n        datatype **Matrix;\r\n        Matrix = (datatype **) malloc(sizeof(datatype *) * m);\r\n        for(i = 0; i < m; i++)\r\n        {\r\n                Matrix[i] = (datatype *) malloc(sizeof(datatype) * n);\r\n        }\r\n        return Matrix;\r\n}\r\n\r\n\/* \u521d\u59cb\u5316\u77e9\u9635\u51fd\u6570 *\/\r\nvoid Reset(datatype** Matrix, int m, int n)\r\n{\r\n        int i,j;\r\n        for(i = 0; i < m; i++)\r\n        {\r\n                for(j = 0; j < n; j++)\r\n                {\r\n                        Matrix[i][j] = 0;\r\n                }\r\n        }\r\n}\r\n\r\n\/* \u8bfb\u5165\u6570\u636e\u51fd\u6570 *\/\r\nvoid Input(datatype** Matrix, int m, int n)\r\n{\r\n        int i,j;\r\n        for(i = 0; i < m; i++)\r\n        {\r\n                for(j = 0; j < n; j++)\r\n                {\r\n                        fscanf(fp,\"%d\", &Matrix[i][j]);\r\n                }\r\n        }\r\n}\r\n\r\n\/* \u8f93\u51fa\u6570\u636e\u51fd\u6570 *\/\r\nvoid Output(datatype** Matrix, int m, int n)\r\n{\r\n        int i,j;\r\n        for(i = 0; i < m; i++)\r\n        {\r\n                for(j = 0; j < n; j++)\r\n                {\r\n                        fprintf(fp,\"%d \", Matrix[i][j]);\r\n                }\r\n                fprintf(fp,\"\\n\");\r\n        }\r\n}\r\n\r\n\/* \u77e9\u9635\u4e58\u6cd5\u8fd0\u7b97\u51fd\u6570 *\/\r\nvoid MatrixMutiply(datatype** a, datatype** b, datatype** c)\r\n{\r\n        int i,j,k;\r\n        for(i = 0; i < row_c; i++)\r\n        {\r\n                for(j = 0; j < col_c; j++)\r\n                {\r\n                        for(k = 0; k < col_a; k++)\r\n                        {\r\n                                c[i][j] += a[i][k] * b[k][j];\r\n                        }\r\n                }\r\n        }\r\n}\r\n\r\n\/* \u91ca\u653e\u77e9\u9635\u5185\u5b58\u51fd\u6570 *\/\r\nvoid MatrixFree(datatype** Matrix, int m)\r\n{\r\n        int i;\r\n        for(i = 0; i < m; i++)\r\n        {\r\n                free(Matrix[i]);\r\n        }\r\n        free(Matrix);\r\n}\r\n<\/pre>\n<p>\u8f6c\u8f7d\u8bf7\u6ce8\u660e\uff1a<a href=\"http:\/\/www.slyar.com\/blog\">Slyar Home<\/a> &raquo; <a href=\"http:\/\/www.slyar.com\/blog\/matrixmutiply-c.html\">\u77e9\u9635\u4e58\u6cd5C\u8bed\u8a00\u5b9e\u73b0<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u4f5c\u8005\uff1a\u59dc\u5357(Slyar) \u6587\u7ae0\u6765\u6e90\uff1aSlyar Home (www.slyar.com) \u8f6c\u8f7d\u8bf7\u6ce8\u660e\uff0c\u8c22\u8c22\u5408\u4f5c\u3002 \u8fd9\u6bb5\u4ee3\u7801\u662f\u6211\u521a\u5199\u7684\uff0c\u4e0d\u662f\u4ec0\u4e48\u6280\u5de7\u6027\u5f88\u5f3a\u7684\u4e1c\u897f\uff0c\u5b8c\u5168\u90fd\u662f\u57fa\u7840\u3002\u4e0a\u5348\u7ebf\u6027\u4ee3\u6570\u8bb2\u4e86\u77e9\u9635\u4e58\u6cd5\uff0c\u4e0b\u5348\u6ca1\u8bfe\uff0c\u5bfb\u601d\u7740\u81ea\u5df1\u4e5f\u597d\u4e45\u6ca1\u5199\u7a0b\u5e8f\u4e86\uff0c\u4e0d\u5982\u5c31\u62ff [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[304,258],"class_list":["post-627","post","type-post","status-publish","format-standard","hentry","category-programing","tag-304","tag-258"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u77e9\u9635\u4e58\u6cd5C\u8bed\u8a00\u5b9e\u73b0\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Slyar\"\/>\n\t<meta name=\"keywords\" content=\"slyar,\u77e9\u9635,\u77e9\u9635\u4e58\u6cd5,c\u8bed\u8a00,\u6307\u9488,\u6587\u4ef6,\u77e9\u9635c\u8bed\u8a00,c\u8bed\u8a00\u5b9e\u73b0,\u77e9\u9635\u76f8\u4e58\" \/>\n\t<link rel=\"canonical\" href=\"http:\/\/www.slyar.com\/blog\/matrixmutiply-c.html\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"zh_CN\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Slyar Home | \u8bb0\u5f55\u4e2a\u4eba\u751f\u6d3b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\u77e9\u9635\u4e58\u6cd5C\u8bed\u8a00\u5b9e\u73b0 - Slyar Home\" \/>\n\t\t<meta property=\"og:description\" content=\"\u77e9\u9635\u4e58\u6cd5C\u8bed\u8a00\u5b9e\u73b0\" \/>\n\t\t<meta property=\"og:url\" content=\"http:\/\/www.slyar.com\/blog\/matrixmutiply-c.html\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2009-03-20T06:35:12+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2014-04-22T06:02:47+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"\u77e9\u9635\u4e58\u6cd5C\u8bed\u8a00\u5b9e\u73b0 - Slyar Home\" \/>\n\t\t<meta name=\"twitter:description\" content=\"\u77e9\u9635\u4e58\u6cd5C\u8bed\u8a00\u5b9e\u73b0\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/matrixmutiply-c.html#article\",\"name\":\"\\u77e9\\u9635\\u4e58\\u6cd5C\\u8bed\\u8a00\\u5b9e\\u73b0 - Slyar Home\",\"headline\":\"\\u77e9\\u9635\\u4e58\\u6cd5C\\u8bed\\u8a00\\u5b9e\\u73b0\",\"author\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/author\\\/slyar#author\"},\"publisher\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/matrixmutiply-c.html#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fa995532c4fa6a1a16430db283689338da430a677b2ff974e0cad68e3bba05c4?s=96&d=monsterid\",\"width\":96,\"height\":96,\"caption\":\"Slyar\"},\"datePublished\":\"2009-03-20T14:35:12-07:00\",\"dateModified\":\"2014-04-22T14:02:47-07:00\",\"inLanguage\":\"zh-CN\",\"commentCount\":14,\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/matrixmutiply-c.html#webpage\"},\"isPartOf\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/matrixmutiply-c.html#webpage\"},\"articleSection\":\"\\u7f16\\u7a0b\\u76f8\\u5173, \\u7a0b\\u5e8f\\u8bbe\\u8ba1, \\u7b97\\u6cd5\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/matrixmutiply-c.html#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/category\\\/programing#listItem\",\"name\":\"\\u7f16\\u7a0b\\u76f8\\u5173\"}},{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/category\\\/programing#listItem\",\"position\":2,\"name\":\"\\u7f16\\u7a0b\\u76f8\\u5173\",\"item\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/category\\\/programing\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/matrixmutiply-c.html#listItem\",\"name\":\"\\u77e9\\u9635\\u4e58\\u6cd5C\\u8bed\\u8a00\\u5b9e\\u73b0\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/matrixmutiply-c.html#listItem\",\"position\":3,\"name\":\"\\u77e9\\u9635\\u4e58\\u6cd5C\\u8bed\\u8a00\\u5b9e\\u73b0\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/category\\\/programing#listItem\",\"name\":\"\\u7f16\\u7a0b\\u76f8\\u5173\"}}]},{\"@type\":\"Person\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/#person\",\"name\":\"Slyar\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/matrixmutiply-c.html#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fa995532c4fa6a1a16430db283689338da430a677b2ff974e0cad68e3bba05c4?s=96&d=monsterid\",\"width\":96,\"height\":96,\"caption\":\"Slyar\"}},{\"@type\":\"Person\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/author\\\/slyar#author\",\"url\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/author\\\/slyar\",\"name\":\"Slyar\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/matrixmutiply-c.html#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fa995532c4fa6a1a16430db283689338da430a677b2ff974e0cad68e3bba05c4?s=96&d=monsterid\",\"width\":96,\"height\":96,\"caption\":\"Slyar\"}},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/matrixmutiply-c.html#webpage\",\"url\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/matrixmutiply-c.html\",\"name\":\"\\u77e9\\u9635\\u4e58\\u6cd5C\\u8bed\\u8a00\\u5b9e\\u73b0 - Slyar Home\",\"description\":\"\\u77e9\\u9635\\u4e58\\u6cd5C\\u8bed\\u8a00\\u5b9e\\u73b0\",\"inLanguage\":\"zh-CN\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/matrixmutiply-c.html#breadcrumblist\"},\"author\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/author\\\/slyar#author\"},\"creator\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/author\\\/slyar#author\"},\"datePublished\":\"2009-03-20T14:35:12-07:00\",\"dateModified\":\"2014-04-22T14:02:47-07:00\"},{\"@type\":\"WebSite\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/#website\",\"url\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/\",\"name\":\"Slyar Home\",\"description\":\"\\u8bb0\\u5f55\\u4e2a\\u4eba\\u751f\\u6d3b\",\"inLanguage\":\"zh-CN\",\"publisher\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\u77e9\u9635\u4e58\u6cd5C\u8bed\u8a00\u5b9e\u73b0 - Slyar Home","description":"\u77e9\u9635\u4e58\u6cd5C\u8bed\u8a00\u5b9e\u73b0","canonical_url":"http:\/\/www.slyar.com\/blog\/matrixmutiply-c.html","robots":"max-image-preview:large","keywords":"slyar,\u77e9\u9635,\u77e9\u9635\u4e58\u6cd5,c\u8bed\u8a00,\u6307\u9488,\u6587\u4ef6,\u77e9\u9635c\u8bed\u8a00,c\u8bed\u8a00\u5b9e\u73b0,\u77e9\u9635\u76f8\u4e58","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/www.slyar.com\/blog\/matrixmutiply-c.html#article","name":"\u77e9\u9635\u4e58\u6cd5C\u8bed\u8a00\u5b9e\u73b0 - Slyar Home","headline":"\u77e9\u9635\u4e58\u6cd5C\u8bed\u8a00\u5b9e\u73b0","author":{"@id":"http:\/\/www.slyar.com\/blog\/author\/slyar#author"},"publisher":{"@id":"http:\/\/www.slyar.com\/blog\/#person"},"image":{"@type":"ImageObject","@id":"http:\/\/www.slyar.com\/blog\/matrixmutiply-c.html#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/fa995532c4fa6a1a16430db283689338da430a677b2ff974e0cad68e3bba05c4?s=96&d=monsterid","width":96,"height":96,"caption":"Slyar"},"datePublished":"2009-03-20T14:35:12-07:00","dateModified":"2014-04-22T14:02:47-07:00","inLanguage":"zh-CN","commentCount":14,"mainEntityOfPage":{"@id":"http:\/\/www.slyar.com\/blog\/matrixmutiply-c.html#webpage"},"isPartOf":{"@id":"http:\/\/www.slyar.com\/blog\/matrixmutiply-c.html#webpage"},"articleSection":"\u7f16\u7a0b\u76f8\u5173, \u7a0b\u5e8f\u8bbe\u8ba1, \u7b97\u6cd5"},{"@type":"BreadcrumbList","@id":"http:\/\/www.slyar.com\/blog\/matrixmutiply-c.html#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"http:\/\/www.slyar.com\/blog\/#listItem","position":1,"name":"Home","item":"http:\/\/www.slyar.com\/blog\/","nextItem":{"@type":"ListItem","@id":"http:\/\/www.slyar.com\/blog\/category\/programing#listItem","name":"\u7f16\u7a0b\u76f8\u5173"}},{"@type":"ListItem","@id":"http:\/\/www.slyar.com\/blog\/category\/programing#listItem","position":2,"name":"\u7f16\u7a0b\u76f8\u5173","item":"http:\/\/www.slyar.com\/blog\/category\/programing","nextItem":{"@type":"ListItem","@id":"http:\/\/www.slyar.com\/blog\/matrixmutiply-c.html#listItem","name":"\u77e9\u9635\u4e58\u6cd5C\u8bed\u8a00\u5b9e\u73b0"},"previousItem":{"@type":"ListItem","@id":"http:\/\/www.slyar.com\/blog\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"http:\/\/www.slyar.com\/blog\/matrixmutiply-c.html#listItem","position":3,"name":"\u77e9\u9635\u4e58\u6cd5C\u8bed\u8a00\u5b9e\u73b0","previousItem":{"@type":"ListItem","@id":"http:\/\/www.slyar.com\/blog\/category\/programing#listItem","name":"\u7f16\u7a0b\u76f8\u5173"}}]},{"@type":"Person","@id":"http:\/\/www.slyar.com\/blog\/#person","name":"Slyar","image":{"@type":"ImageObject","@id":"http:\/\/www.slyar.com\/blog\/matrixmutiply-c.html#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/fa995532c4fa6a1a16430db283689338da430a677b2ff974e0cad68e3bba05c4?s=96&d=monsterid","width":96,"height":96,"caption":"Slyar"}},{"@type":"Person","@id":"http:\/\/www.slyar.com\/blog\/author\/slyar#author","url":"http:\/\/www.slyar.com\/blog\/author\/slyar","name":"Slyar","image":{"@type":"ImageObject","@id":"http:\/\/www.slyar.com\/blog\/matrixmutiply-c.html#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/fa995532c4fa6a1a16430db283689338da430a677b2ff974e0cad68e3bba05c4?s=96&d=monsterid","width":96,"height":96,"caption":"Slyar"}},{"@type":"WebPage","@id":"http:\/\/www.slyar.com\/blog\/matrixmutiply-c.html#webpage","url":"http:\/\/www.slyar.com\/blog\/matrixmutiply-c.html","name":"\u77e9\u9635\u4e58\u6cd5C\u8bed\u8a00\u5b9e\u73b0 - Slyar Home","description":"\u77e9\u9635\u4e58\u6cd5C\u8bed\u8a00\u5b9e\u73b0","inLanguage":"zh-CN","isPartOf":{"@id":"http:\/\/www.slyar.com\/blog\/#website"},"breadcrumb":{"@id":"http:\/\/www.slyar.com\/blog\/matrixmutiply-c.html#breadcrumblist"},"author":{"@id":"http:\/\/www.slyar.com\/blog\/author\/slyar#author"},"creator":{"@id":"http:\/\/www.slyar.com\/blog\/author\/slyar#author"},"datePublished":"2009-03-20T14:35:12-07:00","dateModified":"2014-04-22T14:02:47-07:00"},{"@type":"WebSite","@id":"http:\/\/www.slyar.com\/blog\/#website","url":"http:\/\/www.slyar.com\/blog\/","name":"Slyar Home","description":"\u8bb0\u5f55\u4e2a\u4eba\u751f\u6d3b","inLanguage":"zh-CN","publisher":{"@id":"http:\/\/www.slyar.com\/blog\/#person"}}]},"og:locale":"zh_CN","og:site_name":"Slyar Home | \u8bb0\u5f55\u4e2a\u4eba\u751f\u6d3b","og:type":"article","og:title":"\u77e9\u9635\u4e58\u6cd5C\u8bed\u8a00\u5b9e\u73b0 - Slyar Home","og:description":"\u77e9\u9635\u4e58\u6cd5C\u8bed\u8a00\u5b9e\u73b0","og:url":"http:\/\/www.slyar.com\/blog\/matrixmutiply-c.html","article:published_time":"2009-03-20T06:35:12+00:00","article:modified_time":"2014-04-22T06:02:47+00:00","twitter:card":"summary","twitter:title":"\u77e9\u9635\u4e58\u6cd5C\u8bed\u8a00\u5b9e\u73b0 - Slyar Home","twitter:description":"\u77e9\u9635\u4e58\u6cd5C\u8bed\u8a00\u5b9e\u73b0"},"aioseo_meta_data":{"post_id":"627","title":"\u77e9\u9635\u4e58\u6cd5C\u8bed\u8a00\u5b9e\u73b0 - #site_title","description":"\u77e9\u9635\u4e58\u6cd5C\u8bed\u8a00\u5b9e\u73b0","keywords":[{"label":"slyar","value":"slyar"},{"label":"\u77e9\u9635","value":"\u77e9\u9635"},{"label":"\u77e9\u9635\u4e58\u6cd5","value":"\u77e9\u9635\u4e58\u6cd5"},{"label":"C\u8bed\u8a00","value":"C\u8bed\u8a00"},{"label":"\u6307\u9488","value":"\u6307\u9488"},{"label":"\u6587\u4ef6","value":"\u6587\u4ef6"},{"label":"\u77e9\u9635C\u8bed\u8a00","value":"\u77e9\u9635C\u8bed\u8a00"},{"label":"C\u8bed\u8a00\u5b9e\u73b0","value":"C\u8bed\u8a00\u5b9e\u73b0"},{"label":"\u77e9\u9635\u76f8\u4e58","value":"\u77e9\u9635\u76f8\u4e58"}],"keyphrases":null,"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":null,"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":"","isEnabled":true},"graphs":[]},"schema_type":null,"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":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-02-10 02:46:32","updated":"2022-10-18 13:00:19","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"_links":{"self":[{"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/posts\/627","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/comments?post=627"}],"version-history":[{"count":0,"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/posts\/627\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/media?parent=627"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/categories?post=627"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/tags?post=627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}