{"action":"created","issue":{"url":"https://api.github.com/repos/alecjacobson/computer-graphics-meshes/issues/13","repository_url":"https://api.github.com/repos/alecjacobson/computer-graphics-meshes","labels_url":"https://api.github.com/repos/alecjacobson/computer-graphics-meshes/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/alecjacobson/computer-graphics-meshes/issues/13/comments","events_url":"https://api.github.com/repos/alecjacobson/computer-graphics-meshes/issues/13/events","html_url":"https://github.com/alecjacobson/computer-graphics-meshes/issues/13","id":371778676,"node_id":"MDU6SXNzdWUzNzE3Nzg2NzY=","number":13,"title":"easy way to compare a row of matrix with vector3d? / easy way to assign a vector3d to a row of matrix?","user":{"login":"RioAraki","id":19270277,"node_id":"MDQ6VXNlcjE5MjcwMjc3","avatar_url":"https://avatars3.githubusercontent.com/u/19270277?v=4","gravatar_id":"","url":"https://api.github.com/users/RioAraki","html_url":"https://github.com/RioAraki","followers_url":"https://api.github.com/users/RioAraki/followers","following_url":"https://api.github.com/users/RioAraki/following{/other_user}","gists_url":"https://api.github.com/users/RioAraki/gists{/gist_id}","starred_url":"https://api.github.com/users/RioAraki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RioAraki/subscriptions","organizations_url":"https://api.github.com/users/RioAraki/orgs","repos_url":"https://api.github.com/users/RioAraki/repos","events_url":"https://api.github.com/users/RioAraki/events{/privacy}","received_events_url":"https://api.github.com/users/RioAraki/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-19T02:03:37Z","updated_at":"2018-10-19T06:01:39Z","closed_at":null,"author_association":"NONE","body":"Hi, is there any one-liner to compare a row of matrix (col # is 3) with a vector 3d . Also, is there any easy way to assign the vector3d to one row of matrix with 3 col? Now I can only assign each value one by one and is very time consuming. I checked the api page for eigen but nothing seems very helpful"},"comment":{"url":"https://api.github.com/repos/alecjacobson/computer-graphics-meshes/issues/comments/431253990","html_url":"https://github.com/alecjacobson/computer-graphics-meshes/issues/13#issuecomment-431253990","issue_url":"https://api.github.com/repos/alecjacobson/computer-graphics-meshes/issues/13","id":431253990,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTI1Mzk5MA==","user":{"login":"bryantam","id":10535888,"node_id":"MDQ6VXNlcjEwNTM1ODg4","avatar_url":"https://avatars1.githubusercontent.com/u/10535888?v=4","gravatar_id":"","url":"https://api.github.com/users/bryantam","html_url":"https://github.com/bryantam","followers_url":"https://api.github.com/users/bryantam/followers","following_url":"https://api.github.com/users/bryantam/following{/other_user}","gists_url":"https://api.github.com/users/bryantam/gists{/gist_id}","starred_url":"https://api.github.com/users/bryantam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryantam/subscriptions","organizations_url":"https://api.github.com/users/bryantam/orgs","repos_url":"https://api.github.com/users/bryantam/repos","events_url":"https://api.github.com/users/bryantam/events{/privacy}","received_events_url":"https://api.github.com/users/bryantam/received_events","type":"User","site_admin":false},"created_at":"2018-10-19T06:01:39Z","updated_at":"2018-10-19T06:01:39Z","author_association":"NONE","body":"For assigning a RowVector3d to one row of matrix, you can do `matrix.row(i) = vector`.\r\nNot sure what you mean by comparing a row with a matrix. `matrix.row(i)` would return a RowVector, and you can do whatever you can do with a vector"}}
{"actor":{"display_login":"bryantam"}}