{"action":"closed","number":6,"pull_request":{"url":"https://api.github.com/repos/lmagno/MAC0431/pulls/6","id":52065966,"html_url":"https://github.com/lmagno/MAC0431/pull/6","diff_url":"https://github.com/lmagno/MAC0431/pull/6.diff","patch_url":"https://github.com/lmagno/MAC0431/pull/6.patch","issue_url":"https://api.github.com/repos/lmagno/MAC0431/issues/6","number":6,"state":"closed","locked":false,"title":"Cálculo de média e desvio padrão das alturas","user":{"login":"lmagno","id":4805640,"avatar_url":"https://avatars.githubusercontent.com/u/4805640?v=3","gravatar_id":"","url":"https://api.github.com/users/lmagno","html_url":"https://github.com/lmagno","followers_url":"https://api.github.com/users/lmagno/followers","following_url":"https://api.github.com/users/lmagno/following{/other_user}","gists_url":"https://api.github.com/users/lmagno/gists{/gist_id}","starred_url":"https://api.github.com/users/lmagno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmagno/subscriptions","organizations_url":"https://api.github.com/users/lmagno/orgs","repos_url":"https://api.github.com/users/lmagno/repos","events_url":"https://api.github.com/users/lmagno/events{/privacy}","received_events_url":"https://api.github.com/users/lmagno/received_events","type":"User","site_admin":false},"body":"Usa duas matrizes auxiliares, S e Q, para guardar a soma das alturas e a soma de seus quadrados, respectivamente.\r\nNo final, para cada ponto `(i, j)` calcula:\r\n* Média: `S[i, j]/N`\r\n* Desvio padrão: `sqrt(Q[i, j]/N - (S[i, j]/N)²)`\r\n\r\nonde `N` é o número de iterações, e salva esses dados no arquivo `saida.txt`.\r\n\r\nTambém define os eixos `x` e `y` como os usuais (`x` eixo horizontal com sentido positivo para direita e `y` eixo vertical com sentido positivo para cima), mas talvez isso fique confuso (e em conflito com o que a gente fez até agora), então dá pra mudar.","created_at":"2015-11-29T17:12:39Z","updated_at":"2015-12-01T14:19:56Z","closed_at":"2015-12-01T14:19:56Z","merged_at":"2015-12-01T14:19:56Z","merge_commit_sha":"8956aa23c67080c41ab06cf47c12b4c2cba21642","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lmagno/MAC0431/pulls/6/commits","review_comments_url":"https://api.github.com/repos/lmagno/MAC0431/pulls/6/comments","review_comment_url":"https://api.github.com/repos/lmagno/MAC0431/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lmagno/MAC0431/issues/6/comments","statuses_url":"https://api.github.com/repos/lmagno/MAC0431/statuses/a76a47ebe85444c626fca24adb9dfbc760e3cce4","head":{"label":"lmagno:mean_std","ref":"mean_std","sha":"a76a47ebe85444c626fca24adb9dfbc760e3cce4","user":{"login":"lmagno","id":4805640,"avatar_url":"https://avatars.githubusercontent.com/u/4805640?v=3","gravatar_id":"","url":"https://api.github.com/users/lmagno","html_url":"https://github.com/lmagno","followers_url":"https://api.github.com/users/lmagno/followers","following_url":"https://api.github.com/users/lmagno/following{/other_user}","gists_url":"https://api.github.com/users/lmagno/gists{/gist_id}","starred_url":"https://api.github.com/users/lmagno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmagno/subscriptions","organizations_url":"https://api.github.com/users/lmagno/orgs","repos_url":"https://api.github.com/users/lmagno/repos","events_url":"https://api.github.com/users/lmagno/events{/privacy}","received_events_url":"https://api.github.com/users/lmagno/received_events","type":"User","site_admin":false},"repo":{"id":46238044,"name":"MAC0431","full_name":"lmagno/MAC0431","owner":{"login":"lmagno","id":4805640,"avatar_url":"https://avatars.githubusercontent.com/u/4805640?v=3","gravatar_id":"","url":"https://api.github.com/users/lmagno","html_url":"https://github.com/lmagno","followers_url":"https://api.github.com/users/lmagno/followers","following_url":"https://api.github.com/users/lmagno/following{/other_user}","gists_url":"https://api.github.com/users/lmagno/gists{/gist_id}","starred_url":"https://api.github.com/users/lmagno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmagno/subscriptions","organizations_url":"https://api.github.com/users/lmagno/orgs","repos_url":"https://api.github.com/users/lmagno/repos","events_url":"https://api.github.com/users/lmagno/events{/privacy}","received_events_url":"https://api.github.com/users/lmagno/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lmagno/MAC0431","description":"Introdução à Computação Paralela e Distribuída","fork":false,"url":"https://api.github.com/repos/lmagno/MAC0431","forks_url":"https://api.github.com/repos/lmagno/MAC0431/forks","keys_url":"https://api.github.com/repos/lmagno/MAC0431/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lmagno/MAC0431/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lmagno/MAC0431/teams","hooks_url":"https://api.github.com/repos/lmagno/MAC0431/hooks","issue_events_url":"https://api.github.com/repos/lmagno/MAC0431/issues/events{/number}","events_url":"https://api.github.com/repos/lmagno/MAC0431/events","assignees_url":"https://api.github.com/repos/lmagno/MAC0431/assignees{/user}","branches_url":"https://api.github.com/repos/lmagno/MAC0431/branches{/branch}","tags_url":"https://api.github.com/repos/lmagno/MAC0431/tags","blobs_url":"https://api.github.com/repos/lmagno/MAC0431/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lmagno/MAC0431/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lmagno/MAC0431/git/refs{/sha}","trees_url":"https://api.github.com/repos/lmagno/MAC0431/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lmagno/MAC0431/statuses/{sha}","languages_url":"https://api.github.com/repos/lmagno/MAC0431/languages","stargazers_url":"https://api.github.com/repos/lmagno/MAC0431/stargazers","contributors_url":"https://api.github.com/repos/lmagno/MAC0431/contributors","subscribers_url":"https://api.github.com/repos/lmagno/MAC0431/subscribers","subscription_url":"https://api.github.com/repos/lmagno/MAC0431/subscription","commits_url":"https://api.github.com/repos/lmagno/MAC0431/commits{/sha}","git_commits_url":"https://api.github.com/repos/lmagno/MAC0431/git/commits{/sha}","comments_url":"https://api.github.com/repos/lmagno/MAC0431/comments{/number}","issue_comment_url":"https://api.github.com/repos/lmagno/MAC0431/issues/comments{/number}","contents_url":"https://api.github.com/repos/lmagno/MAC0431/contents/{+path}","compare_url":"https://api.github.com/repos/lmagno/MAC0431/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lmagno/MAC0431/merges","archive_url":"https://api.github.com/repos/lmagno/MAC0431/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lmagno/MAC0431/downloads","issues_url":"https://api.github.com/repos/lmagno/MAC0431/issues{/number}","pulls_url":"https://api.github.com/repos/lmagno/MAC0431/pulls{/number}","milestones_url":"https://api.github.com/repos/lmagno/MAC0431/milestones{/number}","notifications_url":"https://api.github.com/repos/lmagno/MAC0431/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lmagno/MAC0431/labels{/name}","releases_url":"https://api.github.com/repos/lmagno/MAC0431/releases{/id}","created_at":"2015-11-15T22:06:37Z","updated_at":"2015-11-15T22:07:06Z","pushed_at":"2015-12-01T14:19:56Z","git_url":"git://github.com/lmagno/MAC0431.git","ssh_url":"git@github.com:lmagno/MAC0431.git","clone_url":"https://github.com/lmagno/MAC0431.git","svn_url":"https://github.com/lmagno/MAC0431","homepage":null,"size":150,"stargazers_count":0,"watchers_count":0,"language":"FORTRAN","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"lmagno:master","ref":"master","sha":"f4f55f68329556dcdcdb41e505c9bd025d816773","user":{"login":"lmagno","id":4805640,"avatar_url":"https://avatars.githubusercontent.com/u/4805640?v=3","gravatar_id":"","url":"https://api.github.com/users/lmagno","html_url":"https://github.com/lmagno","followers_url":"https://api.github.com/users/lmagno/followers","following_url":"https://api.github.com/users/lmagno/following{/other_user}","gists_url":"https://api.github.com/users/lmagno/gists{/gist_id}","starred_url":"https://api.github.com/users/lmagno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmagno/subscriptions","organizations_url":"https://api.github.com/users/lmagno/orgs","repos_url":"https://api.github.com/users/lmagno/repos","events_url":"https://api.github.com/users/lmagno/events{/privacy}","received_events_url":"https://api.github.com/users/lmagno/received_events","type":"User","site_admin":false},"repo":{"id":46238044,"name":"MAC0431","full_name":"lmagno/MAC0431","owner":{"login":"lmagno","id":4805640,"avatar_url":"https://avatars.githubusercontent.com/u/4805640?v=3","gravatar_id":"","url":"https://api.github.com/users/lmagno","html_url":"https://github.com/lmagno","followers_url":"https://api.github.com/users/lmagno/followers","following_url":"https://api.github.com/users/lmagno/following{/other_user}","gists_url":"https://api.github.com/users/lmagno/gists{/gist_id}","starred_url":"https://api.github.com/users/lmagno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmagno/subscriptions","organizations_url":"https://api.github.com/users/lmagno/orgs","repos_url":"https://api.github.com/users/lmagno/repos","events_url":"https://api.github.com/users/lmagno/events{/privacy}","received_events_url":"https://api.github.com/users/lmagno/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lmagno/MAC0431","description":"Introdução à Computação Paralela e Distribuída","fork":false,"url":"https://api.github.com/repos/lmagno/MAC0431","forks_url":"https://api.github.com/repos/lmagno/MAC0431/forks","keys_url":"https://api.github.com/repos/lmagno/MAC0431/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lmagno/MAC0431/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lmagno/MAC0431/teams","hooks_url":"https://api.github.com/repos/lmagno/MAC0431/hooks","issue_events_url":"https://api.github.com/repos/lmagno/MAC0431/issues/events{/number}","events_url":"https://api.github.com/repos/lmagno/MAC0431/events","assignees_url":"https://api.github.com/repos/lmagno/MAC0431/assignees{/user}","branches_url":"https://api.github.com/repos/lmagno/MAC0431/branches{/branch}","tags_url":"https://api.github.com/repos/lmagno/MAC0431/tags","blobs_url":"https://api.github.com/repos/lmagno/MAC0431/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lmagno/MAC0431/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lmagno/MAC0431/git/refs{/sha}","trees_url":"https://api.github.com/repos/lmagno/MAC0431/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lmagno/MAC0431/statuses/{sha}","languages_url":"https://api.github.com/repos/lmagno/MAC0431/languages","stargazers_url":"https://api.github.com/repos/lmagno/MAC0431/stargazers","contributors_url":"https://api.github.com/repos/lmagno/MAC0431/contributors","subscribers_url":"https://api.github.com/repos/lmagno/MAC0431/subscribers","subscription_url":"https://api.github.com/repos/lmagno/MAC0431/subscription","commits_url":"https://api.github.com/repos/lmagno/MAC0431/commits{/sha}","git_commits_url":"https://api.github.com/repos/lmagno/MAC0431/git/commits{/sha}","comments_url":"https://api.github.com/repos/lmagno/MAC0431/comments{/number}","issue_comment_url":"https://api.github.com/repos/lmagno/MAC0431/issues/comments{/number}","contents_url":"https://api.github.com/repos/lmagno/MAC0431/contents/{+path}","compare_url":"https://api.github.com/repos/lmagno/MAC0431/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lmagno/MAC0431/merges","archive_url":"https://api.github.com/repos/lmagno/MAC0431/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lmagno/MAC0431/downloads","issues_url":"https://api.github.com/repos/lmagno/MAC0431/issues{/number}","pulls_url":"https://api.github.com/repos/lmagno/MAC0431/pulls{/number}","milestones_url":"https://api.github.com/repos/lmagno/MAC0431/milestones{/number}","notifications_url":"https://api.github.com/repos/lmagno/MAC0431/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lmagno/MAC0431/labels{/name}","releases_url":"https://api.github.com/repos/lmagno/MAC0431/releases{/id}","created_at":"2015-11-15T22:06:37Z","updated_at":"2015-11-15T22:07:06Z","pushed_at":"2015-12-01T14:19:56Z","git_url":"git://github.com/lmagno/MAC0431.git","ssh_url":"git@github.com:lmagno/MAC0431.git","clone_url":"https://github.com/lmagno/MAC0431.git","svn_url":"https://github.com/lmagno/MAC0431","homepage":null,"size":150,"stargazers_count":0,"watchers_count":0,"language":"FORTRAN","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lmagno/MAC0431/pulls/6"},"html":{"href":"https://github.com/lmagno/MAC0431/pull/6"},"issue":{"href":"https://api.github.com/repos/lmagno/MAC0431/issues/6"},"comments":{"href":"https://api.github.com/repos/lmagno/MAC0431/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/lmagno/MAC0431/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/lmagno/MAC0431/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lmagno/MAC0431/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/lmagno/MAC0431/statuses/a76a47ebe85444c626fca24adb9dfbc760e3cce4"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"prcastro","id":1280742,"avatar_url":"https://avatars.githubusercontent.com/u/1280742?v=3","gravatar_id":"","url":"https://api.github.com/users/prcastro","html_url":"https://github.com/prcastro","followers_url":"https://api.github.com/users/prcastro/followers","following_url":"https://api.github.com/users/prcastro/following{/other_user}","gists_url":"https://api.github.com/users/prcastro/gists{/gist_id}","starred_url":"https://api.github.com/users/prcastro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prcastro/subscriptions","organizations_url":"https://api.github.com/users/prcastro/orgs","repos_url":"https://api.github.com/users/prcastro/repos","events_url":"https://api.github.com/users/prcastro/events{/privacy}","received_events_url":"https://api.github.com/users/prcastro/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":54,"deletions":5,"changed_files":3}}