{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/pulls/4","id":101351989,"html_url":"https://github.com/alecjacobson/geometry-processing-introduction/pull/4","diff_url":"https://github.com/alecjacobson/geometry-processing-introduction/pull/4.diff","patch_url":"https://github.com/alecjacobson/geometry-processing-introduction/pull/4.patch","issue_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/issues/4","number":4,"state":"open","locked":false,"title":"Kevin Gibson: Assignment 0 Submission","user":{"login":"rkevingibson","id":3256029,"avatar_url":"https://avatars.githubusercontent.com/u/3256029?v=3","gravatar_id":"","url":"https://api.github.com/users/rkevingibson","html_url":"https://github.com/rkevingibson","followers_url":"https://api.github.com/users/rkevingibson/followers","following_url":"https://api.github.com/users/rkevingibson/following{/other_user}","gists_url":"https://api.github.com/users/rkevingibson/gists{/gist_id}","starred_url":"https://api.github.com/users/rkevingibson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkevingibson/subscriptions","organizations_url":"https://api.github.com/users/rkevingibson/orgs","repos_url":"https://api.github.com/users/rkevingibson/repos","events_url":"https://api.github.com/users/rkevingibson/events{/privacy}","received_events_url":"https://api.github.com/users/rkevingibson/received_events","type":"User","site_admin":false},"body":"Here's my solution for assignment 0. Both functions generate a (partial) adjacency matrix for the mesh, and compute the solutions from there. The matrix is just the lower half of the proper adjacency matrix, to avoid duplicates. From this, the number of edges is just the number of non-zero entries, and the number of vertices is the number of non-zero rows. \r\n\r\nI did reimplement (read: copy and paste) the adjacency matrix code in each file, since I didn't feel like separating it out into a function. This means that the euler_characteristic function doesn't call edges(), since I'm generating the adjacency matrix anyways and I only care about the number of edges, not the individual edges.","created_at":"2017-01-12T22:17:11Z","updated_at":"2017-01-12T22:17:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/pulls/4/commits","review_comments_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/pulls/4/comments","review_comment_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/issues/4/comments","statuses_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/statuses/21c8ce021742c3fbf14b36acd85354c3a8855ffb","head":{"label":"rkevingibson:master","ref":"master","sha":"21c8ce021742c3fbf14b36acd85354c3a8855ffb","user":{"login":"rkevingibson","id":3256029,"avatar_url":"https://avatars.githubusercontent.com/u/3256029?v=3","gravatar_id":"","url":"https://api.github.com/users/rkevingibson","html_url":"https://github.com/rkevingibson","followers_url":"https://api.github.com/users/rkevingibson/followers","following_url":"https://api.github.com/users/rkevingibson/following{/other_user}","gists_url":"https://api.github.com/users/rkevingibson/gists{/gist_id}","starred_url":"https://api.github.com/users/rkevingibson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkevingibson/subscriptions","organizations_url":"https://api.github.com/users/rkevingibson/orgs","repos_url":"https://api.github.com/users/rkevingibson/repos","events_url":"https://api.github.com/users/rkevingibson/events{/privacy}","received_events_url":"https://api.github.com/users/rkevingibson/received_events","type":"User","site_admin":false},"repo":{"id":78664465,"name":"geometry-processing-introduction","full_name":"rkevingibson/geometry-processing-introduction","owner":{"login":"rkevingibson","id":3256029,"avatar_url":"https://avatars.githubusercontent.com/u/3256029?v=3","gravatar_id":"","url":"https://api.github.com/users/rkevingibson","html_url":"https://github.com/rkevingibson","followers_url":"https://api.github.com/users/rkevingibson/followers","following_url":"https://api.github.com/users/rkevingibson/following{/other_user}","gists_url":"https://api.github.com/users/rkevingibson/gists{/gist_id}","starred_url":"https://api.github.com/users/rkevingibson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkevingibson/subscriptions","organizations_url":"https://api.github.com/users/rkevingibson/orgs","repos_url":"https://api.github.com/users/rkevingibson/repos","events_url":"https://api.github.com/users/rkevingibson/events{/privacy}","received_events_url":"https://api.github.com/users/rkevingibson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rkevingibson/geometry-processing-introduction","description":"Introductory assignment for Geometry Processing course","fork":true,"url":"https://api.github.com/repos/rkevingibson/geometry-processing-introduction","forks_url":"https://api.github.com/repos/rkevingibson/geometry-processing-introduction/forks","keys_url":"https://api.github.com/repos/rkevingibson/geometry-processing-introduction/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rkevingibson/geometry-processing-introduction/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rkevingibson/geometry-processing-introduction/teams","hooks_url":"https://api.github.com/repos/rkevingibson/geometry-processing-introduction/hooks","issue_events_url":"https://api.github.com/repos/rkevingibson/geometry-processing-introduction/issues/events{/number}","events_url":"https://api.github.com/repos/rkevingibson/geometry-processing-introduction/events","assignees_url":"https://api.github.com/repos/rkevingibson/geometry-processing-introduction/assignees{/user}","branches_url":"https://api.github.com/repos/rkevingibson/geometry-processing-introduction/branches{/branch}","tags_url":"https://api.github.com/repos/rkevingibson/geometry-processing-introduction/tags","blobs_url":"https://api.github.com/repos/rkevingibson/geometry-processing-introduction/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rkevingibson/geometry-processing-introduction/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rkevingibson/geometry-processing-introduction/git/refs{/sha}","trees_url":"https://api.github.com/repos/rkevingibson/geometry-processing-introduction/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rkevingibson/geometry-processing-introduction/statuses/{sha}","languages_url":"https://api.github.com/repos/rkevingibson/geometry-processing-introduction/languages","stargazers_url":"https://api.github.com/repos/rkevingibson/geometry-processing-introduction/stargazers","contributors_url":"https://api.github.com/repos/rkevingibson/geometry-processing-introduction/contributors","subscribers_url":"https://api.github.com/repos/rkevingibson/geometry-processing-introduction/subscribers","subscription_url":"https://api.github.com/repos/rkevingibson/geometry-processing-introduction/subscription","commits_url":"https://api.github.com/repos/rkevingibson/geometry-processing-introduction/commits{/sha}","git_commits_url":"https://api.github.com/repos/rkevingibson/geometry-processing-introduction/git/commits{/sha}","comments_url":"https://api.github.com/repos/rkevingibson/geometry-processing-introduction/comments{/number}","issue_comment_url":"https://api.github.com/repos/rkevingibson/geometry-processing-introduction/issues/comments{/number}","contents_url":"https://api.github.com/repos/rkevingibson/geometry-processing-introduction/contents/{+path}","compare_url":"https://api.github.com/repos/rkevingibson/geometry-processing-introduction/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rkevingibson/geometry-processing-introduction/merges","archive_url":"https://api.github.com/repos/rkevingibson/geometry-processing-introduction/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rkevingibson/geometry-processing-introduction/downloads","issues_url":"https://api.github.com/repos/rkevingibson/geometry-processing-introduction/issues{/number}","pulls_url":"https://api.github.com/repos/rkevingibson/geometry-processing-introduction/pulls{/number}","milestones_url":"https://api.github.com/repos/rkevingibson/geometry-processing-introduction/milestones{/number}","notifications_url":"https://api.github.com/repos/rkevingibson/geometry-processing-introduction/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rkevingibson/geometry-processing-introduction/labels{/name}","releases_url":"https://api.github.com/repos/rkevingibson/geometry-processing-introduction/releases{/id}","deployments_url":"https://api.github.com/repos/rkevingibson/geometry-processing-introduction/deployments","created_at":"2017-01-11T17:55:35Z","updated_at":"2017-01-11T17:55:36Z","pushed_at":"2017-01-12T22:10:16Z","git_url":"git://github.com/rkevingibson/geometry-processing-introduction.git","ssh_url":"git@github.com:rkevingibson/geometry-processing-introduction.git","clone_url":"https://github.com/rkevingibson/geometry-processing-introduction.git","svn_url":"https://github.com/rkevingibson/geometry-processing-introduction","homepage":"","size":782,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"alecjacobson:master","ref":"master","sha":"7c50387760bfc81d1c43cd40f1b65a222cb1a2cb","user":{"login":"alecjacobson","id":2241689,"avatar_url":"https://avatars.githubusercontent.com/u/2241689?v=3","gravatar_id":"","url":"https://api.github.com/users/alecjacobson","html_url":"https://github.com/alecjacobson","followers_url":"https://api.github.com/users/alecjacobson/followers","following_url":"https://api.github.com/users/alecjacobson/following{/other_user}","gists_url":"https://api.github.com/users/alecjacobson/gists{/gist_id}","starred_url":"https://api.github.com/users/alecjacobson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alecjacobson/subscriptions","organizations_url":"https://api.github.com/users/alecjacobson/orgs","repos_url":"https://api.github.com/users/alecjacobson/repos","events_url":"https://api.github.com/users/alecjacobson/events{/privacy}","received_events_url":"https://api.github.com/users/alecjacobson/received_events","type":"User","site_admin":false},"repo":{"id":78591333,"name":"geometry-processing-introduction","full_name":"alecjacobson/geometry-processing-introduction","owner":{"login":"alecjacobson","id":2241689,"avatar_url":"https://avatars.githubusercontent.com/u/2241689?v=3","gravatar_id":"","url":"https://api.github.com/users/alecjacobson","html_url":"https://github.com/alecjacobson","followers_url":"https://api.github.com/users/alecjacobson/followers","following_url":"https://api.github.com/users/alecjacobson/following{/other_user}","gists_url":"https://api.github.com/users/alecjacobson/gists{/gist_id}","starred_url":"https://api.github.com/users/alecjacobson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alecjacobson/subscriptions","organizations_url":"https://api.github.com/users/alecjacobson/orgs","repos_url":"https://api.github.com/users/alecjacobson/repos","events_url":"https://api.github.com/users/alecjacobson/events{/privacy}","received_events_url":"https://api.github.com/users/alecjacobson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alecjacobson/geometry-processing-introduction","description":"Introductory assignment for Geometry Processing course","fork":false,"url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction","forks_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/forks","keys_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/teams","hooks_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/hooks","issue_events_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/issues/events{/number}","events_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/events","assignees_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/assignees{/user}","branches_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/branches{/branch}","tags_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/tags","blobs_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/git/refs{/sha}","trees_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/statuses/{sha}","languages_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/languages","stargazers_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/stargazers","contributors_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/contributors","subscribers_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/subscribers","subscription_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/subscription","commits_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/commits{/sha}","git_commits_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/git/commits{/sha}","comments_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/comments{/number}","issue_comment_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/issues/comments{/number}","contents_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/contents/{+path}","compare_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/merges","archive_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/downloads","issues_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/issues{/number}","pulls_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/pulls{/number}","milestones_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/milestones{/number}","notifications_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/labels{/name}","releases_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/releases{/id}","deployments_url":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/deployments","created_at":"2017-01-11T01:36:18Z","updated_at":"2017-01-12T14:44:18Z","pushed_at":"2017-01-12T21:28:40Z","git_url":"git://github.com/alecjacobson/geometry-processing-introduction.git","ssh_url":"git@github.com:alecjacobson/geometry-processing-introduction.git","clone_url":"https://github.com/alecjacobson/geometry-processing-introduction.git","svn_url":"https://github.com/alecjacobson/geometry-processing-introduction","homepage":"","size":782,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":3,"forks":6,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/pulls/4"},"html":{"href":"https://github.com/alecjacobson/geometry-processing-introduction/pull/4"},"issue":{"href":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/issues/4"},"comments":{"href":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/alecjacobson/geometry-processing-introduction/statuses/21c8ce021742c3fbf14b36acd85354c3a8855ffb"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":81,"deletions":6,"changed_files":2}}
{"actor":{"display_login":"rkevingibson"}}