GitHub PullRequestEvent at 2014-03-17 11:28:17
Repository: breeze
Actor: piyo7
Payload: {"action":"opened","number":199,"pull_request":{"url":"https://api.github.com/repos/scalanlp/breeze/pulls/199","id":13629694,"html_url":"https://github.com/scalanlp/breeze/pull/199","diff_url":"https://github.com/scalanlp/breeze/pull/199.diff","patch_url":"https://github.com/scalanlp/breeze/pull/199.patch","issue_url":"https://api.github.com/repos/scalanlp/breeze/issues/199","number":199,"state":"open","title":"slice of DenseVector","user":{"login":"piyo7","id":6973087,"avatar_url":"https://gravatar.com/avatar/e650d601c28f8accb2eeacca8fc2b092?d=https%3A%2F%2Fidenticons.github.com%2F89f85726b29d5c82fc4d7f861a27a6ab.png&r=x","gravatar_id":"e650d601c28f8accb2eeacca8fc2b092","url":"https://api.github.com/users/piyo7","html_url":"https://github.com/piyo7","followers_url":"https://api.github.com/users/piyo7/followers","following_url":"https://api.github.com/users/piyo7/following{/other_user}","gists_url":"https://api.github.com/users/piyo7/gists{/gist_id}","starred_url":"https://api.github.com/users/piyo7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piyo7/subscriptions","organizations_url":"https://api.github.com/users/piyo7/orgs","repos_url":"https://api.github.com/users/piyo7/repos","events_url":"https://api.github.com/users/piyo7/events{/privacy}","received_events_url":"https://api.github.com/users/piyo7/received_events","type":"User","site_admin":false},"body":"```\r\nscala> import breeze.linalg.DenseVector\r\nscala> val dvec = DenseVector((0 to 15).toArray)(0 to 15 by 3)\r\ndvec: breeze.linalg.DenseVector[Int] = DenseVector(0, 3, 6, 9, 12, 15)\r\n\r\nscala> dvec(1 to 5 by 2)\r\nres0: breeze.linalg.DenseVector[Int] = DenseVector(1, 7, 13)\r\n```\r\nI expect that dvec(1 to 5 by 2) = DenseVector(3, 9, 15).\r\nIf I understand slice correctly, argument \"start\" should be multiplied by field \"stride\".","created_at":"2014-03-17T11:28:17Z","updated_at":"2014-03-17T11:28:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/scalanlp/breeze/pulls/199/commits","review_comments_url":"https://api.github.com/repos/scalanlp/breeze/pulls/199/comments","review_comment_url":"https://api.github.com/repos/scalanlp/breeze/pulls/comments/{number}","comments_url":"https://api.github.com/repos/scalanlp/breeze/issues/199/comments","statuses_url":"https://api.github.com/repos/scalanlp/breeze/statuses/60f82b62e52cbeebb1a521bdd8920f53753728a4","head":{"label":"piyo7:DenseVector","ref":"DenseVector","sha":"60f82b62e52cbeebb1a521bdd8920f53753728a4","user":{"login":"piyo7","id":6973087,"avatar_url":"https://gravatar.com/avatar/e650d601c28f8accb2eeacca8fc2b092?d=https%3A%2F%2Fidenticons.github.com%2F89f85726b29d5c82fc4d7f861a27a6ab.png&r=x","gravatar_id":"e650d601c28f8accb2eeacca8fc2b092","url":"https://api.github.com/users/piyo7","html_url":"https://github.com/piyo7","followers_url":"https://api.github.com/users/piyo7/followers","following_url":"https://api.github.com/users/piyo7/following{/other_user}","gists_url":"https://api.github.com/users/piyo7/gists{/gist_id}","starred_url":"https://api.github.com/users/piyo7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piyo7/subscriptions","organizations_url":"https://api.github.com/users/piyo7/orgs","repos_url":"https://api.github.com/users/piyo7/repos","events_url":"https://api.github.com/users/piyo7/events{/privacy}","received_events_url":"https://api.github.com/users/piyo7/received_events","type":"User","site_admin":false},"repo":{"id":17822876,"name":"breeze","full_name":"piyo7/breeze","owner":{"login":"piyo7","id":6973087,"avatar_url":"https://gravatar.com/avatar/e650d601c28f8accb2eeacca8fc2b092?d=https%3A%2F%2Fidenticons.github.com%2F89f85726b29d5c82fc4d7f861a27a6ab.png&r=x","gravatar_id":"e650d601c28f8accb2eeacca8fc2b092","url":"https://api.github.com/users/piyo7","html_url":"https://github.com/piyo7","followers_url":"https://api.github.com/users/piyo7/followers","following_url":"https://api.github.com/users/piyo7/following{/other_user}","gists_url":"https://api.github.com/users/piyo7/gists{/gist_id}","starred_url":"https://api.github.com/users/piyo7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piyo7/subscriptions","organizations_url":"https://api.github.com/users/piyo7/orgs","repos_url":"https://api.github.com/users/piyo7/repos","events_url":"https://api.github.com/users/piyo7/events{/privacy}","received_events_url":"https://api.github.com/users/piyo7/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/piyo7/breeze","description":"Breeze is a numerical processing library for Scala.","fork":true,"url":"https://api.github.com/repos/piyo7/breeze","forks_url":"https://api.github.com/repos/piyo7/breeze/forks","keys_url":"https://api.github.com/repos/piyo7/breeze/keys{/key_id}","collaborators_url":"https://api.github.com/repos/piyo7/breeze/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/piyo7/breeze/teams","hooks_url":"https://api.github.com/repos/piyo7/breeze/hooks","issue_events_url":"https://api.github.com/repos/piyo7/breeze/issues/events{/number}","events_url":"https://api.github.com/repos/piyo7/breeze/events","assignees_url":"https://api.github.com/repos/piyo7/breeze/assignees{/user}","branches_url":"https://api.github.com/repos/piyo7/breeze/branches{/branch}","tags_url":"https://api.github.com/repos/piyo7/breeze/tags","blobs_url":"https://api.github.com/repos/piyo7/breeze/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/piyo7/breeze/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/piyo7/breeze/git/refs{/sha}","trees_url":"https://api.github.com/repos/piyo7/breeze/git/trees{/sha}","statuses_url":"https://api.github.com/repos/piyo7/breeze/statuses/{sha}","languages_url":"https://api.github.com/repos/piyo7/breeze/languages","stargazers_url":"https://api.github.com/repos/piyo7/breeze/stargazers","contributors_url":"https://api.github.com/repos/piyo7/breeze/contributors","subscribers_url":"https://api.github.com/repos/piyo7/breeze/subscribers","subscription_url":"https://api.github.com/repos/piyo7/breeze/subscription","commits_url":"https://api.github.com/repos/piyo7/breeze/commits{/sha}","git_commits_url":"https://api.github.com/repos/piyo7/breeze/git/commits{/sha}","comments_url":"https://api.github.com/repos/piyo7/breeze/comments{/number}","issue_comment_url":"https://api.github.com/repos/piyo7/breeze/issues/comments/{number}","contents_url":"https://api.github.com/repos/piyo7/breeze/contents/{+path}","compare_url":"https://api.github.com/repos/piyo7/breeze/compare/{base}...{head}","merges_url":"https://api.github.com/repos/piyo7/breeze/merges","archive_url":"https://api.github.com/repos/piyo7/breeze/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/piyo7/breeze/downloads","issues_url":"https://api.github.com/repos/piyo7/breeze/issues{/number}","pulls_url":"https://api.github.com/repos/piyo7/breeze/pulls{/number}","milestones_url":"https://api.github.com/repos/piyo7/breeze/milestones{/number}","notifications_url":"https://api.github.com/repos/piyo7/breeze/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/piyo7/breeze/labels{/name}","releases_url":"https://api.github.com/repos/piyo7/breeze/releases{/id}","created_at":"2014-03-17T09:29:22Z","updated_at":"2014-03-17T11:28:17Z","pushed_at":"2014-03-17T10:59:57Z","git_url":"git://github.com/piyo7/breeze.git","ssh_url":"git@github.com:piyo7/breeze.git","clone_url":"https://github.com/piyo7/breeze.git","svn_url":"https://github.com/piyo7/breeze","homepage":"www.scalanlp.org","size":29549,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","master_branch":"master"}},"base":{"label":"scalanlp:master","ref":"master","sha":"f84b998dafb53f37b2b204ad6c959ee70d6b4fd0","user":{"login":"scalanlp","id":103090,"avatar_url":"https://gravatar.com/avatar/85036564873251b7b4d37e135dbb0336?d=https%3A%2F%2Fidenticons.github.com%2F3a2c1d1cebb75eb0399a7293eda74d06.png&r=x","gravatar_id":"85036564873251b7b4d37e135dbb0336","url":"https://api.github.com/users/scalanlp","html_url":"https://github.com/scalanlp","followers_url":"https://api.github.com/users/scalanlp/followers","following_url":"https://api.github.com/users/scalanlp/following{/other_user}","gists_url":"https://api.github.com/users/scalanlp/gists{/gist_id}","starred_url":"https://api.github.com/users/scalanlp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scalanlp/subscriptions","organizations_url":"https://api.github.com/users/scalanlp/orgs","repos_url":"https://api.github.com/users/scalanlp/repos","events_url":"https://api.github.com/users/scalanlp/events{/privacy}","received_events_url":"https://api.github.com/users/scalanlp/received_events","type":"Organization","site_admin":false},"repo":{"id":246644,"name":"breeze","full_name":"scalanlp/breeze","owner":{"login":"scalanlp","id":103090,"avatar_url":"https://gravatar.com/avatar/85036564873251b7b4d37e135dbb0336?d=https%3A%2F%2Fidenticons.github.com%2F3a2c1d1cebb75eb0399a7293eda74d06.png&r=x","gravatar_id":"85036564873251b7b4d37e135dbb0336","url":"https://api.github.com/users/scalanlp","html_url":"https://github.com/scalanlp","followers_url":"https://api.github.com/users/scalanlp/followers","following_url":"https://api.github.com/users/scalanlp/following{/other_user}","gists_url":"https://api.github.com/users/scalanlp/gists{/gist_id}","starred_url":"https://api.github.com/users/scalanlp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scalanlp/subscriptions","organizations_url":"https://api.github.com/users/scalanlp/orgs","repos_url":"https://api.github.com/users/scalanlp/repos","events_url":"https://api.github.com/users/scalanlp/events{/privacy}","received_events_url":"https://api.github.com/users/scalanlp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scalanlp/breeze","description":"Breeze is a numerical processing library for Scala.","fork":false,"url":"https://api.github.com/repos/scalanlp/breeze","forks_url":"https://api.github.com/repos/scalanlp/breeze/forks","keys_url":"https://api.github.com/repos/scalanlp/breeze/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scalanlp/breeze/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scalanlp/breeze/teams","hooks_url":"https://api.github.com/repos/scalanlp/breeze/hooks","issue_events_url":"https://api.github.com/repos/scalanlp/breeze/issues/events{/number}","events_url":"https://api.github.com/repos/scalanlp/breeze/events","assignees_url":"https://api.github.com/repos/scalanlp/breeze/assignees{/user}","branches_url":"https://api.github.com/repos/scalanlp/breeze/branches{/branch}","tags_url":"https://api.github.com/repos/scalanlp/breeze/tags","blobs_url":"https://api.github.com/repos/scalanlp/breeze/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scalanlp/breeze/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scalanlp/breeze/git/refs{/sha}","trees_url":"https://api.github.com/repos/scalanlp/breeze/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scalanlp/breeze/statuses/{sha}","languages_url":"https://api.github.com/repos/scalanlp/breeze/languages","stargazers_url":"https://api.github.com/repos/scalanlp/breeze/stargazers","contributors_url":"https://api.github.com/repos/scalanlp/breeze/contributors","subscribers_url":"https://api.github.com/repos/scalanlp/breeze/subscribers","subscription_url":"https://api.github.com/repos/scalanlp/breeze/subscription","commits_url":"https://api.github.com/repos/scalanlp/breeze/commits{/sha}","git_commits_url":"https://api.github.com/repos/scalanlp/breeze/git/commits{/sha}","comments_url":"https://api.github.com/repos/scalanlp/breeze/comments{/number}","issue_comment_url":"https://api.github.com/repos/scalanlp/breeze/issues/comments/{number}","contents_url":"https://api.github.com/repos/scalanlp/breeze/contents/{+path}","compare_url":"https://api.github.com/repos/scalanlp/breeze/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scalanlp/breeze/merges","archive_url":"https://api.github.com/repos/scalanlp/breeze/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scalanlp/breeze/downloads","issues_url":"https://api.github.com/repos/scalanlp/breeze/issues{/number}","pulls_url":"https://api.github.com/repos/scalanlp/breeze/pulls{/number}","milestones_url":"https://api.github.com/repos/scalanlp/breeze/milestones{/number}","notifications_url":"https://api.github.com/repos/scalanlp/breeze/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scalanlp/breeze/labels{/name}","releases_url":"https://api.github.com/repos/scalanlp/breeze/releases{/id}","created_at":"2009-07-08T23:22:52Z","updated_at":"2014-03-15T18:34:01Z","pushed_at":"2014-03-15T18:34:00Z","git_url":"git://github.com/scalanlp/breeze.git","ssh_url":"git@github.com:scalanlp/breeze.git","clone_url":"https://github.com/scalanlp/breeze.git","svn_url":"https://github.com/scalanlp/breeze","homepage":"www.scalanlp.org","size":29549,"stargazers_count":474,"watchers_count":474,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":150,"mirror_url":null,"open_issues_count":24,"forks":150,"open_issues":24,"watchers":474,"default_branch":"master","master_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scalanlp/breeze/pulls/199"},"html":{"href":"https://github.com/scalanlp/breeze/pull/199"},"issue":{"href":"https://api.github.com/repos/scalanlp/breeze/issues/199"},"comments":{"href":"https://api.github.com/repos/scalanlp/breeze/issues/199/comments"},"review_comments":{"href":"https://api.github.com/repos/scalanlp/breeze/pulls/199/comments"},"review_comment":{"href":"https://api.github.com/repos/scalanlp/breeze/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/scalanlp/breeze/pulls/199/commits"},"statuses":{"href":"https://api.github.com/repos/scalanlp/breeze/statuses/60f82b62e52cbeebb1a521bdd8920f53753728a4"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}