{"action":"opened","issue":{"url":"https://api.github.com/repos/LONGMIAOMIAO/Issues/issues/102","repository_url":"https://api.github.com/repos/LONGMIAOMIAO/Issues","labels_url":"https://api.github.com/repos/LONGMIAOMIAO/Issues/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/LONGMIAOMIAO/Issues/issues/102/comments","events_url":"https://api.github.com/repos/LONGMIAOMIAO/Issues/issues/102/events","html_url":"https://github.com/LONGMIAOMIAO/Issues/issues/102","id":318729260,"number":102,"title":"Eigen Reshape 矩阵形状的重新生成","user":{"login":"LONGMIAOMIAO","id":17375822,"avatar_url":"https://avatars2.githubusercontent.com/u/17375822?v=4","gravatar_id":"","url":"https://api.github.com/users/LONGMIAOMIAO","html_url":"https://github.com/LONGMIAOMIAO","followers_url":"https://api.github.com/users/LONGMIAOMIAO/followers","following_url":"https://api.github.com/users/LONGMIAOMIAO/following{/other_user}","gists_url":"https://api.github.com/users/LONGMIAOMIAO/gists{/gist_id}","starred_url":"https://api.github.com/users/LONGMIAOMIAO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LONGMIAOMIAO/subscriptions","organizations_url":"https://api.github.com/users/LONGMIAOMIAO/orgs","repos_url":"https://api.github.com/users/LONGMIAOMIAO/repos","events_url":"https://api.github.com/users/LONGMIAOMIAO/events{/privacy}","received_events_url":"https://api.github.com/users/LONGMIAOMIAO/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-29T16:15:27Z","updated_at":"2018-04-29T16:15:27Z","closed_at":null,"author_association":"OWNER","body":"double arr[9]={1,2,3,4,5,6,7,8,9};\r\nMap<MatrixXd> A(arr,3,3);\r\ncout<<A;\r\n我需要的是这样的结果：\r\n1,2,3\r\n4,5,6\r\n7,8,9\r\n可是上面的A=\r\n1,4,7\r\n\r\n2,5,8\r\n3,6,9\r\n怎么把列优先改成行优先？\r\n```\r\ntypedef Matrix<double, Dynamic, Dynamic,RowMajor>rMatrixXd;//定义矩阵行优先\r\ndouble arr[9]={1,2,3,4,5,6,7,8,9};\r\nMap<rMatrixXd> A(arr,3,3);\r\n```\r\n\r\n"}}
{"actor":{"display_login":"LONGMIAOMIAO"}}