{"action":"created","comment":{"url":"https://api.github.com/repos/nutofem/nuto/pulls/comments/124857165","pull_request_review_id":47188019,"id":124857165,"diff_hunk":"@@ -0,0 +1,17 @@\n+#pragma once\n+namespace NuTo\n+{\n+\n+//! @brief calculates the cumulative moving average\n+struct Average","path":"src/math/Average.h","position":6,"original_position":6,"commit_id":"238858daa2c15137495cae69333bf14b99f914db","original_commit_id":"238858daa2c15137495cae69333bf14b99f914db","user":{"login":"Psirus","id":1187292,"avatar_url":"https://avatars2.githubusercontent.com/u/1187292?v=3","gravatar_id":"","url":"https://api.github.com/users/Psirus","html_url":"https://github.com/Psirus","followers_url":"https://api.github.com/users/Psirus/followers","following_url":"https://api.github.com/users/Psirus/following{/other_user}","gists_url":"https://api.github.com/users/Psirus/gists{/gist_id}","starred_url":"https://api.github.com/users/Psirus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Psirus/subscriptions","organizations_url":"https://api.github.com/users/Psirus/orgs","repos_url":"https://api.github.com/users/Psirus/repos","events_url":"https://api.github.com/users/Psirus/events{/privacy}","received_events_url":"https://api.github.com/users/Psirus/received_events","type":"User","site_admin":false},"body":"What does this have to do with the Newton-Raphson? Where do we use it?","created_at":"2017-06-29T17:00:59Z","updated_at":"2017-06-29T17:14:04Z","html_url":"https://github.com/nutofem/nuto/pull/70#discussion_r124857165","pull_request_url":"https://api.github.com/repos/nutofem/nuto/pulls/70","_links":{"self":{"href":"https://api.github.com/repos/nutofem/nuto/pulls/comments/124857165"},"html":{"href":"https://github.com/nutofem/nuto/pull/70#discussion_r124857165"},"pull_request":{"href":"https://api.github.com/repos/nutofem/nuto/pulls/70"}}},"pull_request":{"url":"https://api.github.com/repos/nutofem/nuto/pulls/70","id":128187065,"html_url":"https://github.com/nutofem/nuto/pull/70","diff_url":"https://github.com/nutofem/nuto/pull/70.diff","patch_url":"https://github.com/nutofem/nuto/pull/70.patch","issue_url":"https://api.github.com/repos/nutofem/nuto/issues/70","number":70,"state":"open","locked":false,"title":"Newton raphson","user":{"login":"TTitscher","id":12712945,"avatar_url":"https://avatars3.githubusercontent.com/u/12712945?v=3","gravatar_id":"","url":"https://api.github.com/users/TTitscher","html_url":"https://github.com/TTitscher","followers_url":"https://api.github.com/users/TTitscher/followers","following_url":"https://api.github.com/users/TTitscher/following{/other_user}","gists_url":"https://api.github.com/users/TTitscher/gists{/gist_id}","starred_url":"https://api.github.com/users/TTitscher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TTitscher/subscriptions","organizations_url":"https://api.github.com/users/TTitscher/orgs","repos_url":"https://api.github.com/users/TTitscher/repos","events_url":"https://api.github.com/users/TTitscher/events{/privacy}","received_events_url":"https://api.github.com/users/TTitscher/received_events","type":"User","site_admin":false},"body":"Here is an idea for a generic Newton-Raphson algorithm as a free function. The implementation relies on _a lot_ of template arguments for defining\r\n- residual function\r\n- derivative function\r\n- norm function\r\n- tolerance value\r\n- optional info method\r\nall collected in NuTo::NewtonRaphson::Problem\r\n\r\nPlease have a look at https://github.com/nutofem/nuto/blob/newton_raphson/test/math/NewtonRaphson.cpp to see its application to both a scalar valued and a vector valued problem.\r\n\r\nIs this tooo cryptic all in all?\r\n","created_at":"2017-06-29T15:53:26Z","updated_at":"2017-06-29T17:14:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e3b9506471d8dc77e669621ffce17346e9541d27","assignee":null,"assignees":[],"requested_reviewers":[{"login":"joergfunger","id":20501029,"avatar_url":"https://avatars0.githubusercontent.com/u/20501029?v=3","gravatar_id":"","url":"https://api.github.com/users/joergfunger","html_url":"https://github.com/joergfunger","followers_url":"https://api.github.com/users/joergfunger/followers","following_url":"https://api.github.com/users/joergfunger/following{/other_user}","gists_url":"https://api.github.com/users/joergfunger/gists{/gist_id}","starred_url":"https://api.github.com/users/joergfunger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joergfunger/subscriptions","organizations_url":"https://api.github.com/users/joergfunger/orgs","repos_url":"https://api.github.com/users/joergfunger/repos","events_url":"https://api.github.com/users/joergfunger/events{/privacy}","received_events_url":"https://api.github.com/users/joergfunger/received_events","type":"User","site_admin":false},{"login":"pmueller2","id":24247180,"avatar_url":"https://avatars3.githubusercontent.com/u/24247180?v=3","gravatar_id":"","url":"https://api.github.com/users/pmueller2","html_url":"https://github.com/pmueller2","followers_url":"https://api.github.com/users/pmueller2/followers","following_url":"https://api.github.com/users/pmueller2/following{/other_user}","gists_url":"https://api.github.com/users/pmueller2/gists{/gist_id}","starred_url":"https://api.github.com/users/pmueller2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmueller2/subscriptions","organizations_url":"https://api.github.com/users/pmueller2/orgs","repos_url":"https://api.github.com/users/pmueller2/repos","events_url":"https://api.github.com/users/pmueller2/events{/privacy}","received_events_url":"https://api.github.com/users/pmueller2/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/nutofem/nuto/pulls/70/commits","review_comments_url":"https://api.github.com/repos/nutofem/nuto/pulls/70/comments","review_comment_url":"https://api.github.com/repos/nutofem/nuto/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nutofem/nuto/issues/70/comments","statuses_url":"https://api.github.com/repos/nutofem/nuto/statuses/238858daa2c15137495cae69333bf14b99f914db","head":{"label":"nutofem:newton_raphson","ref":"newton_raphson","sha":"238858daa2c15137495cae69333bf14b99f914db","user":{"login":"nutofem","id":20438588,"avatar_url":"https://avatars1.githubusercontent.com/u/20438588?v=3","gravatar_id":"","url":"https://api.github.com/users/nutofem","html_url":"https://github.com/nutofem","followers_url":"https://api.github.com/users/nutofem/followers","following_url":"https://api.github.com/users/nutofem/following{/other_user}","gists_url":"https://api.github.com/users/nutofem/gists{/gist_id}","starred_url":"https://api.github.com/users/nutofem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nutofem/subscriptions","organizations_url":"https://api.github.com/users/nutofem/orgs","repos_url":"https://api.github.com/users/nutofem/repos","events_url":"https://api.github.com/users/nutofem/events{/privacy}","received_events_url":"https://api.github.com/users/nutofem/received_events","type":"Organization","site_admin":false},"repo":{"id":63241285,"name":"nuto","full_name":"nutofem/nuto","owner":{"login":"nutofem","id":20438588,"avatar_url":"https://avatars1.githubusercontent.com/u/20438588?v=3","gravatar_id":"","url":"https://api.github.com/users/nutofem","html_url":"https://github.com/nutofem","followers_url":"https://api.github.com/users/nutofem/followers","following_url":"https://api.github.com/users/nutofem/following{/other_user}","gists_url":"https://api.github.com/users/nutofem/gists{/gist_id}","starred_url":"https://api.github.com/users/nutofem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nutofem/subscriptions","organizations_url":"https://api.github.com/users/nutofem/orgs","repos_url":"https://api.github.com/users/nutofem/repos","events_url":"https://api.github.com/users/nutofem/events{/privacy}","received_events_url":"https://api.github.com/users/nutofem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nutofem/nuto","description":"NuTo - yet another finite element library","fork":false,"url":"https://api.github.com/repos/nutofem/nuto","forks_url":"https://api.github.com/repos/nutofem/nuto/forks","keys_url":"https://api.github.com/repos/nutofem/nuto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nutofem/nuto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nutofem/nuto/teams","hooks_url":"https://api.github.com/repos/nutofem/nuto/hooks","issue_events_url":"https://api.github.com/repos/nutofem/nuto/issues/events{/number}","events_url":"https://api.github.com/repos/nutofem/nuto/events","assignees_url":"https://api.github.com/repos/nutofem/nuto/assignees{/user}","branches_url":"https://api.github.com/repos/nutofem/nuto/branches{/branch}","tags_url":"https://api.github.com/repos/nutofem/nuto/tags","blobs_url":"https://api.github.com/repos/nutofem/nuto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nutofem/nuto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nutofem/nuto/git/refs{/sha}","trees_url":"https://api.github.com/repos/nutofem/nuto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nutofem/nuto/statuses/{sha}","languages_url":"https://api.github.com/repos/nutofem/nuto/languages","stargazers_url":"https://api.github.com/repos/nutofem/nuto/stargazers","contributors_url":"https://api.github.com/repos/nutofem/nuto/contributors","subscribers_url":"https://api.github.com/repos/nutofem/nuto/subscribers","subscription_url":"https://api.github.com/repos/nutofem/nuto/subscription","commits_url":"https://api.github.com/repos/nutofem/nuto/commits{/sha}","git_commits_url":"https://api.github.com/repos/nutofem/nuto/git/commits{/sha}","comments_url":"https://api.github.com/repos/nutofem/nuto/comments{/number}","issue_comment_url":"https://api.github.com/repos/nutofem/nuto/issues/comments{/number}","contents_url":"https://api.github.com/repos/nutofem/nuto/contents/{+path}","compare_url":"https://api.github.com/repos/nutofem/nuto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nutofem/nuto/merges","archive_url":"https://api.github.com/repos/nutofem/nuto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nutofem/nuto/downloads","issues_url":"https://api.github.com/repos/nutofem/nuto/issues{/number}","pulls_url":"https://api.github.com/repos/nutofem/nuto/pulls{/number}","milestones_url":"https://api.github.com/repos/nutofem/nuto/milestones{/number}","notifications_url":"https://api.github.com/repos/nutofem/nuto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nutofem/nuto/labels{/name}","releases_url":"https://api.github.com/repos/nutofem/nuto/releases{/id}","deployments_url":"https://api.github.com/repos/nutofem/nuto/deployments","created_at":"2016-07-13T11:42:57Z","updated_at":"2017-06-13T15:30:00Z","pushed_at":"2017-06-29T15:57:20Z","git_url":"git://github.com/nutofem/nuto.git","ssh_url":"git@github.com:nutofem/nuto.git","clone_url":"https://github.com/nutofem/nuto.git","svn_url":"https://github.com/nutofem/nuto","homepage":"https://nuto.readthedocs.io/en/master/","size":14797,"stargazers_count":4,"watchers_count":4,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":40,"forks":0,"open_issues":40,"watchers":4,"default_branch":"master"}},"base":{"label":"nutofem:master","ref":"master","sha":"4e6d9b2471285da4e324fc227a142031b3ab8a54","user":{"login":"nutofem","id":20438588,"avatar_url":"https://avatars1.githubusercontent.com/u/20438588?v=3","gravatar_id":"","url":"https://api.github.com/users/nutofem","html_url":"https://github.com/nutofem","followers_url":"https://api.github.com/users/nutofem/followers","following_url":"https://api.github.com/users/nutofem/following{/other_user}","gists_url":"https://api.github.com/users/nutofem/gists{/gist_id}","starred_url":"https://api.github.com/users/nutofem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nutofem/subscriptions","organizations_url":"https://api.github.com/users/nutofem/orgs","repos_url":"https://api.github.com/users/nutofem/repos","events_url":"https://api.github.com/users/nutofem/events{/privacy}","received_events_url":"https://api.github.com/users/nutofem/received_events","type":"Organization","site_admin":false},"repo":{"id":63241285,"name":"nuto","full_name":"nutofem/nuto","owner":{"login":"nutofem","id":20438588,"avatar_url":"https://avatars1.githubusercontent.com/u/20438588?v=3","gravatar_id":"","url":"https://api.github.com/users/nutofem","html_url":"https://github.com/nutofem","followers_url":"https://api.github.com/users/nutofem/followers","following_url":"https://api.github.com/users/nutofem/following{/other_user}","gists_url":"https://api.github.com/users/nutofem/gists{/gist_id}","starred_url":"https://api.github.com/users/nutofem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nutofem/subscriptions","organizations_url":"https://api.github.com/users/nutofem/orgs","repos_url":"https://api.github.com/users/nutofem/repos","events_url":"https://api.github.com/users/nutofem/events{/privacy}","received_events_url":"https://api.github.com/users/nutofem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nutofem/nuto","description":"NuTo - yet another finite element library","fork":false,"url":"https://api.github.com/repos/nutofem/nuto","forks_url":"https://api.github.com/repos/nutofem/nuto/forks","keys_url":"https://api.github.com/repos/nutofem/nuto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nutofem/nuto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nutofem/nuto/teams","hooks_url":"https://api.github.com/repos/nutofem/nuto/hooks","issue_events_url":"https://api.github.com/repos/nutofem/nuto/issues/events{/number}","events_url":"https://api.github.com/repos/nutofem/nuto/events","assignees_url":"https://api.github.com/repos/nutofem/nuto/assignees{/user}","branches_url":"https://api.github.com/repos/nutofem/nuto/branches{/branch}","tags_url":"https://api.github.com/repos/nutofem/nuto/tags","blobs_url":"https://api.github.com/repos/nutofem/nuto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nutofem/nuto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nutofem/nuto/git/refs{/sha}","trees_url":"https://api.github.com/repos/nutofem/nuto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nutofem/nuto/statuses/{sha}","languages_url":"https://api.github.com/repos/nutofem/nuto/languages","stargazers_url":"https://api.github.com/repos/nutofem/nuto/stargazers","contributors_url":"https://api.github.com/repos/nutofem/nuto/contributors","subscribers_url":"https://api.github.com/repos/nutofem/nuto/subscribers","subscription_url":"https://api.github.com/repos/nutofem/nuto/subscription","commits_url":"https://api.github.com/repos/nutofem/nuto/commits{/sha}","git_commits_url":"https://api.github.com/repos/nutofem/nuto/git/commits{/sha}","comments_url":"https://api.github.com/repos/nutofem/nuto/comments{/number}","issue_comment_url":"https://api.github.com/repos/nutofem/nuto/issues/comments{/number}","contents_url":"https://api.github.com/repos/nutofem/nuto/contents/{+path}","compare_url":"https://api.github.com/repos/nutofem/nuto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nutofem/nuto/merges","archive_url":"https://api.github.com/repos/nutofem/nuto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nutofem/nuto/downloads","issues_url":"https://api.github.com/repos/nutofem/nuto/issues{/number}","pulls_url":"https://api.github.com/repos/nutofem/nuto/pulls{/number}","milestones_url":"https://api.github.com/repos/nutofem/nuto/milestones{/number}","notifications_url":"https://api.github.com/repos/nutofem/nuto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nutofem/nuto/labels{/name}","releases_url":"https://api.github.com/repos/nutofem/nuto/releases{/id}","deployments_url":"https://api.github.com/repos/nutofem/nuto/deployments","created_at":"2016-07-13T11:42:57Z","updated_at":"2017-06-13T15:30:00Z","pushed_at":"2017-06-29T15:57:20Z","git_url":"git://github.com/nutofem/nuto.git","ssh_url":"git@github.com:nutofem/nuto.git","clone_url":"https://github.com/nutofem/nuto.git","svn_url":"https://github.com/nutofem/nuto","homepage":"https://nuto.readthedocs.io/en/master/","size":14797,"stargazers_count":4,"watchers_count":4,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":40,"forks":0,"open_issues":40,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nutofem/nuto/pulls/70"},"html":{"href":"https://github.com/nutofem/nuto/pull/70"},"issue":{"href":"https://api.github.com/repos/nutofem/nuto/issues/70"},"comments":{"href":"https://api.github.com/repos/nutofem/nuto/issues/70/comments"},"review_comments":{"href":"https://api.github.com/repos/nutofem/nuto/pulls/70/comments"},"review_comment":{"href":"https://api.github.com/repos/nutofem/nuto/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nutofem/nuto/pulls/70/commits"},"statuses":{"href":"https://api.github.com/repos/nutofem/nuto/statuses/238858daa2c15137495cae69333bf14b99f914db"}}}}
{"actor":{"display_login":"Psirus"}}