{"action":"created","comment":{"url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/pulls/comments/30944273","id":30944273,"diff_hunk":"@@ -0,0 +1,51 @@\n+#include <vector>\n+#include \"Experiments.h\"\n+\n+typedef std::vector<double> Point;\n+typedef std::vector<std::vector<double>> ListOfPoints;\n+\n+double ScalarProduct(Point& one, Point& two) {\n+    int dimension = one.size();\n+    double scalar_product = 0;\n+    for (int i = 0; i != dimension; i++) {\n+        scalar_product += one[i]*two[i];\n+    }\n+    return scalar_product;\n+}\n+\n+Point MakeVector(Point& one, Point& two) {\n+    int dimension = one.size();\n+    Point vector(dimension);\n+    for (int i = 0; i != dimension; ++i) {\n+        vector[i] = one[i] - two[i];\n+    }\n+    return vector;\n+}\n+\n+void MultiplyByScalar(Point& one, double number) {\n+    int dimension = one.size();\n+    for (int i = 0; i != dimension; ++i) {\n+        one[i]*=number;","path":"Cancer_c++_realization/Experiments.cpp","position":28,"original_position":28,"commit_id":"625e47bea31d646584016537f2a78928096a2a3b","original_commit_id":"625e47bea31d646584016537f2a78928096a2a3b","user":{"login":"Kontakter","id":374677,"avatar_url":"https://avatars.githubusercontent.com/u/374677?v=3","gravatar_id":"","url":"https://api.github.com/users/Kontakter","html_url":"https://github.com/Kontakter","followers_url":"https://api.github.com/users/Kontakter/followers","following_url":"https://api.github.com/users/Kontakter/following{/other_user}","gists_url":"https://api.github.com/users/Kontakter/gists{/gist_id}","starred_url":"https://api.github.com/users/Kontakter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kontakter/subscriptions","organizations_url":"https://api.github.com/users/Kontakter/orgs","repos_url":"https://api.github.com/users/Kontakter/repos","events_url":"https://api.github.com/users/Kontakter/events{/privacy}","received_events_url":"https://api.github.com/users/Kontakter/received_events","type":"User","site_admin":false},"body":"Аналогично, пробелы вокруг ```*=```","created_at":"2015-05-23T11:53:30Z","updated_at":"2015-05-23T11:53:30Z","html_url":"https://github.com/cs-hse-projects/Walter_bio_cancer/pull/7#discussion_r30944273","pull_request_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/pulls/comments/30944273"},"html":{"href":"https://github.com/cs-hse-projects/Walter_bio_cancer/pull/7#discussion_r30944273"},"pull_request":{"href":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/pulls/7","id":33973465,"html_url":"https://github.com/cs-hse-projects/Walter_bio_cancer/pull/7","diff_url":"https://github.com/cs-hse-projects/Walter_bio_cancer/pull/7.diff","patch_url":"https://github.com/cs-hse-projects/Walter_bio_cancer/pull/7.patch","issue_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/issues/7","number":7,"state":"closed","locked":false,"title":"K-means Walter","user":{"login":"walterdd","id":9671354,"avatar_url":"https://avatars.githubusercontent.com/u/9671354?v=3","gravatar_id":"","url":"https://api.github.com/users/walterdd","html_url":"https://github.com/walterdd","followers_url":"https://api.github.com/users/walterdd/followers","following_url":"https://api.github.com/users/walterdd/following{/other_user}","gists_url":"https://api.github.com/users/walterdd/gists{/gist_id}","starred_url":"https://api.github.com/users/walterdd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/walterdd/subscriptions","organizations_url":"https://api.github.com/users/walterdd/orgs","repos_url":"https://api.github.com/users/walterdd/repos","events_url":"https://api.github.com/users/walterdd/events{/privacy}","received_events_url":"https://api.github.com/users/walterdd/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-23T16:37:30Z","updated_at":"2015-05-23T11:53:30Z","closed_at":"2015-05-21T18:47:49Z","merged_at":"2015-05-21T18:47:49Z","merge_commit_sha":"250284e42eeb9bafe53d307596ac342dcf5962a9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/pulls/7/commits","review_comments_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/pulls/7/comments","review_comment_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/issues/7/comments","statuses_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/statuses/625e47bea31d646584016537f2a78928096a2a3b","head":{"label":"cs-hse-projects:master","ref":"master","sha":"625e47bea31d646584016537f2a78928096a2a3b","user":{"login":"cs-hse-projects","id":10801300,"avatar_url":"https://avatars.githubusercontent.com/u/10801300?v=3","gravatar_id":"","url":"https://api.github.com/users/cs-hse-projects","html_url":"https://github.com/cs-hse-projects","followers_url":"https://api.github.com/users/cs-hse-projects/followers","following_url":"https://api.github.com/users/cs-hse-projects/following{/other_user}","gists_url":"https://api.github.com/users/cs-hse-projects/gists{/gist_id}","starred_url":"https://api.github.com/users/cs-hse-projects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cs-hse-projects/subscriptions","organizations_url":"https://api.github.com/users/cs-hse-projects/orgs","repos_url":"https://api.github.com/users/cs-hse-projects/repos","events_url":"https://api.github.com/users/cs-hse-projects/events{/privacy}","received_events_url":"https://api.github.com/users/cs-hse-projects/received_events","type":"Organization","site_admin":false},"repo":{"id":31155546,"name":"Walter_bio_cancer","full_name":"cs-hse-projects/Walter_bio_cancer","owner":{"login":"cs-hse-projects","id":10801300,"avatar_url":"https://avatars.githubusercontent.com/u/10801300?v=3","gravatar_id":"","url":"https://api.github.com/users/cs-hse-projects","html_url":"https://github.com/cs-hse-projects","followers_url":"https://api.github.com/users/cs-hse-projects/followers","following_url":"https://api.github.com/users/cs-hse-projects/following{/other_user}","gists_url":"https://api.github.com/users/cs-hse-projects/gists{/gist_id}","starred_url":"https://api.github.com/users/cs-hse-projects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cs-hse-projects/subscriptions","organizations_url":"https://api.github.com/users/cs-hse-projects/orgs","repos_url":"https://api.github.com/users/cs-hse-projects/repos","events_url":"https://api.github.com/users/cs-hse-projects/events{/privacy}","received_events_url":"https://api.github.com/users/cs-hse-projects/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cs-hse-projects/Walter_bio_cancer","description":"","fork":false,"url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer","forks_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/forks","keys_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/teams","hooks_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/hooks","issue_events_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/issues/events{/number}","events_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/events","assignees_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/assignees{/user}","branches_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/branches{/branch}","tags_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/tags","blobs_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/git/refs{/sha}","trees_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/statuses/{sha}","languages_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/languages","stargazers_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/stargazers","contributors_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/contributors","subscribers_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/subscribers","subscription_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/subscription","commits_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/commits{/sha}","git_commits_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/git/commits{/sha}","comments_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/comments{/number}","issue_comment_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/issues/comments{/number}","contents_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/contents/{+path}","compare_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/merges","archive_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/downloads","issues_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/issues{/number}","pulls_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/pulls{/number}","milestones_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/milestones{/number}","notifications_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/labels{/name}","releases_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/releases{/id}","created_at":"2015-02-22T07:02:31Z","updated_at":"2015-04-23T16:34:58Z","pushed_at":"2015-05-23T04:53:52Z","git_url":"git://github.com/cs-hse-projects/Walter_bio_cancer.git","ssh_url":"git@github.com:cs-hse-projects/Walter_bio_cancer.git","clone_url":"https://github.com/cs-hse-projects/Walter_bio_cancer.git","svn_url":"https://github.com/cs-hse-projects/Walter_bio_cancer","homepage":null,"size":22996,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":0,"default_branch":"master"}},"base":{"label":"cs-hse-projects:initial","ref":"initial","sha":"5eaa848e9154e92318af29e99f1f45044393484e","user":{"login":"cs-hse-projects","id":10801300,"avatar_url":"https://avatars.githubusercontent.com/u/10801300?v=3","gravatar_id":"","url":"https://api.github.com/users/cs-hse-projects","html_url":"https://github.com/cs-hse-projects","followers_url":"https://api.github.com/users/cs-hse-projects/followers","following_url":"https://api.github.com/users/cs-hse-projects/following{/other_user}","gists_url":"https://api.github.com/users/cs-hse-projects/gists{/gist_id}","starred_url":"https://api.github.com/users/cs-hse-projects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cs-hse-projects/subscriptions","organizations_url":"https://api.github.com/users/cs-hse-projects/orgs","repos_url":"https://api.github.com/users/cs-hse-projects/repos","events_url":"https://api.github.com/users/cs-hse-projects/events{/privacy}","received_events_url":"https://api.github.com/users/cs-hse-projects/received_events","type":"Organization","site_admin":false},"repo":{"id":31155546,"name":"Walter_bio_cancer","full_name":"cs-hse-projects/Walter_bio_cancer","owner":{"login":"cs-hse-projects","id":10801300,"avatar_url":"https://avatars.githubusercontent.com/u/10801300?v=3","gravatar_id":"","url":"https://api.github.com/users/cs-hse-projects","html_url":"https://github.com/cs-hse-projects","followers_url":"https://api.github.com/users/cs-hse-projects/followers","following_url":"https://api.github.com/users/cs-hse-projects/following{/other_user}","gists_url":"https://api.github.com/users/cs-hse-projects/gists{/gist_id}","starred_url":"https://api.github.com/users/cs-hse-projects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cs-hse-projects/subscriptions","organizations_url":"https://api.github.com/users/cs-hse-projects/orgs","repos_url":"https://api.github.com/users/cs-hse-projects/repos","events_url":"https://api.github.com/users/cs-hse-projects/events{/privacy}","received_events_url":"https://api.github.com/users/cs-hse-projects/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cs-hse-projects/Walter_bio_cancer","description":"","fork":false,"url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer","forks_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/forks","keys_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/teams","hooks_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/hooks","issue_events_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/issues/events{/number}","events_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/events","assignees_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/assignees{/user}","branches_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/branches{/branch}","tags_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/tags","blobs_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/git/refs{/sha}","trees_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/statuses/{sha}","languages_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/languages","stargazers_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/stargazers","contributors_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/contributors","subscribers_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/subscribers","subscription_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/subscription","commits_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/commits{/sha}","git_commits_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/git/commits{/sha}","comments_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/comments{/number}","issue_comment_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/issues/comments{/number}","contents_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/contents/{+path}","compare_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/merges","archive_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/downloads","issues_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/issues{/number}","pulls_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/pulls{/number}","milestones_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/milestones{/number}","notifications_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/labels{/name}","releases_url":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/releases{/id}","created_at":"2015-02-22T07:02:31Z","updated_at":"2015-04-23T16:34:58Z","pushed_at":"2015-05-23T04:53:52Z","git_url":"git://github.com/cs-hse-projects/Walter_bio_cancer.git","ssh_url":"git@github.com:cs-hse-projects/Walter_bio_cancer.git","clone_url":"https://github.com/cs-hse-projects/Walter_bio_cancer.git","svn_url":"https://github.com/cs-hse-projects/Walter_bio_cancer","homepage":null,"size":22996,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/pulls/7"},"html":{"href":"https://github.com/cs-hse-projects/Walter_bio_cancer/pull/7"},"issue":{"href":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/issues/7"},"comments":{"href":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/cs-hse-projects/Walter_bio_cancer/statuses/625e47bea31d646584016537f2a78928096a2a3b"}}}}