{"action":"created","comment":{"url":"https://api.github.com/repos/sympy/sympy/pulls/comments/31319874","id":31319874,"diff_hunk":"@@ -0,0 +1,109 @@\n+============\n+Introduction\n+============\n+\n+This page gives a brief conceptual overview of the functionality present in\n+:mod:`sympy.vector`.\n+\n+Vectors and Scalars\n+===================\n+\n+In vector math, we deal with two kinds of quantities – scalars and vectors.\n+\n+A **scalar** is an entity which only has a magnitude – no direction. Examples of\n+scalar quantities include mass, electric charge, temperature, distance, etc.\n+\n+A **vector**, on the other hand, is an entity that is characterized by a\n+magnitude and a direction. Examples of vector quantities are displacement,\n+velocity, magnetic field, etc.\n+\n+A scalar can be depicted just by a number, for e.g. a temperature of 300 K.\n+On the other hand, vectorial quantities like acceleration are usually denoted\n+by a vector. Given a vector :math:`\\mathbf{V}`, the magnitude of the\n+corresponding quantity can be calculated as the magnitude of the vector\n+itself :math:`\\Vert \\mathbf{V} \\Vert`, while the direction would be specified\n+by a unit vector in the direction of the original vector,\n+:math:`\\mathbf{\\hat{V}} = \\frac{\\mathbf{V}}{\\Vert \\mathbf{V} \\Vert}`.\n+\n+For example, consider a displacement of\n+:math:`(3\\mathbf{\\hat{i}} + 4\\mathbf{\\hat{j}} + 5\\mathbf{\\hat{k}})` m,\n+where , as per standard convention, :math:`\\mathbf{\\hat{i}}`,\n+:math:`\\mathbf{\\hat{j}}` and :math:`\\mathbf{\\hat{k}}` represent unit vectors\n+in the :math:`\\mathbf{X}`, :math:`\\mathbf{Y}` and :math:`\\mathbf{Z}`\n+directions respectively. Therefore, it can be concluded that the distance","path":"doc/src/modules/vector/intro.rst","position":33,"original_position":33,"commit_id":"4b4440bea41ab554c1ba071d39bae6705d03330f","original_commit_id":"4b4440bea41ab554c1ba071d39bae6705d03330f","user":{"login":"srjoglekar246","id":2099293,"avatar_url":"https://avatars.githubusercontent.com/u/2099293?v=3","gravatar_id":"","url":"https://api.github.com/users/srjoglekar246","html_url":"https://github.com/srjoglekar246","followers_url":"https://api.github.com/users/srjoglekar246/followers","following_url":"https://api.github.com/users/srjoglekar246/following{/other_user}","gists_url":"https://api.github.com/users/srjoglekar246/gists{/gist_id}","starred_url":"https://api.github.com/users/srjoglekar246/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srjoglekar246/subscriptions","organizations_url":"https://api.github.com/users/srjoglekar246/orgs","repos_url":"https://api.github.com/users/srjoglekar246/repos","events_url":"https://api.github.com/users/srjoglekar246/events{/privacy}","received_events_url":"https://api.github.com/users/srjoglekar246/received_events","type":"User","site_admin":false},"body":"+1.","created_at":"2015-05-29T12:28:44Z","updated_at":"2015-05-29T12:28:44Z","html_url":"https://github.com/sympy/sympy/pull/7860#discussion_r31319874","pull_request_url":"https://api.github.com/repos/sympy/sympy/pulls/7860","_links":{"self":{"href":"https://api.github.com/repos/sympy/sympy/pulls/comments/31319874"},"html":{"href":"https://github.com/sympy/sympy/pull/7860#discussion_r31319874"},"pull_request":{"href":"https://api.github.com/repos/sympy/sympy/pulls/7860"}}},"pull_request":{"url":"https://api.github.com/repos/sympy/sympy/pulls/7860","id":19735883,"html_url":"https://github.com/sympy/sympy/pull/7860","diff_url":"https://github.com/sympy/sympy/pull/7860.diff","patch_url":"https://github.com/sympy/sympy/pull/7860.patch","issue_url":"https://api.github.com/repos/sympy/sympy/issues/7860","number":7860,"state":"open","locked":false,"title":"Sphinx Docs for Vector module","user":{"login":"srjoglekar246","id":2099293,"avatar_url":"https://avatars.githubusercontent.com/u/2099293?v=3","gravatar_id":"","url":"https://api.github.com/users/srjoglekar246","html_url":"https://github.com/srjoglekar246","followers_url":"https://api.github.com/users/srjoglekar246/followers","following_url":"https://api.github.com/users/srjoglekar246/following{/other_user}","gists_url":"https://api.github.com/users/srjoglekar246/gists{/gist_id}","starred_url":"https://api.github.com/users/srjoglekar246/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srjoglekar246/subscriptions","organizations_url":"https://api.github.com/users/srjoglekar246/orgs","repos_url":"https://api.github.com/users/srjoglekar246/repos","events_url":"https://api.github.com/users/srjoglekar246/events{/privacy}","received_events_url":"https://api.github.com/users/srjoglekar246/received_events","type":"User","site_admin":false},"body":"Adds Sphinx docs for the new sympy.vector module","created_at":"2014-08-13T16:33:34Z","updated_at":"2015-05-29T12:28:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ac3441fc9e9ba2395bcde6f2c628d0f00d69175b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sympy/sympy/pulls/7860/commits","review_comments_url":"https://api.github.com/repos/sympy/sympy/pulls/7860/comments","review_comment_url":"https://api.github.com/repos/sympy/sympy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sympy/sympy/issues/7860/comments","statuses_url":"https://api.github.com/repos/sympy/sympy/statuses/4b4440bea41ab554c1ba071d39bae6705d03330f","head":{"label":"srjoglekar246:vectordoc","ref":"vectordoc","sha":"4b4440bea41ab554c1ba071d39bae6705d03330f","user":{"login":"srjoglekar246","id":2099293,"avatar_url":"https://avatars.githubusercontent.com/u/2099293?v=3","gravatar_id":"","url":"https://api.github.com/users/srjoglekar246","html_url":"https://github.com/srjoglekar246","followers_url":"https://api.github.com/users/srjoglekar246/followers","following_url":"https://api.github.com/users/srjoglekar246/following{/other_user}","gists_url":"https://api.github.com/users/srjoglekar246/gists{/gist_id}","starred_url":"https://api.github.com/users/srjoglekar246/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srjoglekar246/subscriptions","organizations_url":"https://api.github.com/users/srjoglekar246/orgs","repos_url":"https://api.github.com/users/srjoglekar246/repos","events_url":"https://api.github.com/users/srjoglekar246/events{/privacy}","received_events_url":"https://api.github.com/users/srjoglekar246/received_events","type":"User","site_admin":false},"repo":{"id":5945782,"name":"sympy","full_name":"srjoglekar246/sympy","owner":{"login":"srjoglekar246","id":2099293,"avatar_url":"https://avatars.githubusercontent.com/u/2099293?v=3","gravatar_id":"","url":"https://api.github.com/users/srjoglekar246","html_url":"https://github.com/srjoglekar246","followers_url":"https://api.github.com/users/srjoglekar246/followers","following_url":"https://api.github.com/users/srjoglekar246/following{/other_user}","gists_url":"https://api.github.com/users/srjoglekar246/gists{/gist_id}","starred_url":"https://api.github.com/users/srjoglekar246/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srjoglekar246/subscriptions","organizations_url":"https://api.github.com/users/srjoglekar246/orgs","repos_url":"https://api.github.com/users/srjoglekar246/repos","events_url":"https://api.github.com/users/srjoglekar246/events{/privacy}","received_events_url":"https://api.github.com/users/srjoglekar246/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/srjoglekar246/sympy","description":"A computer algebra system written in pure Python","fork":true,"url":"https://api.github.com/repos/srjoglekar246/sympy","forks_url":"https://api.github.com/repos/srjoglekar246/sympy/forks","keys_url":"https://api.github.com/repos/srjoglekar246/sympy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/srjoglekar246/sympy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/srjoglekar246/sympy/teams","hooks_url":"https://api.github.com/repos/srjoglekar246/sympy/hooks","issue_events_url":"https://api.github.com/repos/srjoglekar246/sympy/issues/events{/number}","events_url":"https://api.github.com/repos/srjoglekar246/sympy/events","assignees_url":"https://api.github.com/repos/srjoglekar246/sympy/assignees{/user}","branches_url":"https://api.github.com/repos/srjoglekar246/sympy/branches{/branch}","tags_url":"https://api.github.com/repos/srjoglekar246/sympy/tags","blobs_url":"https://api.github.com/repos/srjoglekar246/sympy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/srjoglekar246/sympy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/srjoglekar246/sympy/git/refs{/sha}","trees_url":"https://api.github.com/repos/srjoglekar246/sympy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/srjoglekar246/sympy/statuses/{sha}","languages_url":"https://api.github.com/repos/srjoglekar246/sympy/languages","stargazers_url":"https://api.github.com/repos/srjoglekar246/sympy/stargazers","contributors_url":"https://api.github.com/repos/srjoglekar246/sympy/contributors","subscribers_url":"https://api.github.com/repos/srjoglekar246/sympy/subscribers","subscription_url":"https://api.github.com/repos/srjoglekar246/sympy/subscription","commits_url":"https://api.github.com/repos/srjoglekar246/sympy/commits{/sha}","git_commits_url":"https://api.github.com/repos/srjoglekar246/sympy/git/commits{/sha}","comments_url":"https://api.github.com/repos/srjoglekar246/sympy/comments{/number}","issue_comment_url":"https://api.github.com/repos/srjoglekar246/sympy/issues/comments{/number}","contents_url":"https://api.github.com/repos/srjoglekar246/sympy/contents/{+path}","compare_url":"https://api.github.com/repos/srjoglekar246/sympy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/srjoglekar246/sympy/merges","archive_url":"https://api.github.com/repos/srjoglekar246/sympy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/srjoglekar246/sympy/downloads","issues_url":"https://api.github.com/repos/srjoglekar246/sympy/issues{/number}","pulls_url":"https://api.github.com/repos/srjoglekar246/sympy/pulls{/number}","milestones_url":"https://api.github.com/repos/srjoglekar246/sympy/milestones{/number}","notifications_url":"https://api.github.com/repos/srjoglekar246/sympy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/srjoglekar246/sympy/labels{/name}","releases_url":"https://api.github.com/repos/srjoglekar246/sympy/releases{/id}","created_at":"2012-09-25T06:17:23Z","updated_at":"2014-06-23T21:32:34Z","pushed_at":"2014-08-17T19:49:34Z","git_url":"git://github.com/srjoglekar246/sympy.git","ssh_url":"git@github.com:srjoglekar246/sympy.git","clone_url":"https://github.com/srjoglekar246/sympy.git","svn_url":"https://github.com/srjoglekar246/sympy","homepage":"http://sympy.org/","size":69587,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sympy:master","ref":"master","sha":"10b9aa56e2b41e652767932cf3b043142e2d96e0","user":{"login":"sympy","id":260832,"avatar_url":"https://avatars.githubusercontent.com/u/260832?v=3","gravatar_id":"","url":"https://api.github.com/users/sympy","html_url":"https://github.com/sympy","followers_url":"https://api.github.com/users/sympy/followers","following_url":"https://api.github.com/users/sympy/following{/other_user}","gists_url":"https://api.github.com/users/sympy/gists{/gist_id}","starred_url":"https://api.github.com/users/sympy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sympy/subscriptions","organizations_url":"https://api.github.com/users/sympy/orgs","repos_url":"https://api.github.com/users/sympy/repos","events_url":"https://api.github.com/users/sympy/events{/privacy}","received_events_url":"https://api.github.com/users/sympy/received_events","type":"Organization","site_admin":false},"repo":{"id":640534,"name":"sympy","full_name":"sympy/sympy","owner":{"login":"sympy","id":260832,"avatar_url":"https://avatars.githubusercontent.com/u/260832?v=3","gravatar_id":"","url":"https://api.github.com/users/sympy","html_url":"https://github.com/sympy","followers_url":"https://api.github.com/users/sympy/followers","following_url":"https://api.github.com/users/sympy/following{/other_user}","gists_url":"https://api.github.com/users/sympy/gists{/gist_id}","starred_url":"https://api.github.com/users/sympy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sympy/subscriptions","organizations_url":"https://api.github.com/users/sympy/orgs","repos_url":"https://api.github.com/users/sympy/repos","events_url":"https://api.github.com/users/sympy/events{/privacy}","received_events_url":"https://api.github.com/users/sympy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sympy/sympy","description":"A computer algebra system written in pure Python","fork":false,"url":"https://api.github.com/repos/sympy/sympy","forks_url":"https://api.github.com/repos/sympy/sympy/forks","keys_url":"https://api.github.com/repos/sympy/sympy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sympy/sympy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sympy/sympy/teams","hooks_url":"https://api.github.com/repos/sympy/sympy/hooks","issue_events_url":"https://api.github.com/repos/sympy/sympy/issues/events{/number}","events_url":"https://api.github.com/repos/sympy/sympy/events","assignees_url":"https://api.github.com/repos/sympy/sympy/assignees{/user}","branches_url":"https://api.github.com/repos/sympy/sympy/branches{/branch}","tags_url":"https://api.github.com/repos/sympy/sympy/tags","blobs_url":"https://api.github.com/repos/sympy/sympy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sympy/sympy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sympy/sympy/git/refs{/sha}","trees_url":"https://api.github.com/repos/sympy/sympy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sympy/sympy/statuses/{sha}","languages_url":"https://api.github.com/repos/sympy/sympy/languages","stargazers_url":"https://api.github.com/repos/sympy/sympy/stargazers","contributors_url":"https://api.github.com/repos/sympy/sympy/contributors","subscribers_url":"https://api.github.com/repos/sympy/sympy/subscribers","subscription_url":"https://api.github.com/repos/sympy/sympy/subscription","commits_url":"https://api.github.com/repos/sympy/sympy/commits{/sha}","git_commits_url":"https://api.github.com/repos/sympy/sympy/git/commits{/sha}","comments_url":"https://api.github.com/repos/sympy/sympy/comments{/number}","issue_comment_url":"https://api.github.com/repos/sympy/sympy/issues/comments{/number}","contents_url":"https://api.github.com/repos/sympy/sympy/contents/{+path}","compare_url":"https://api.github.com/repos/sympy/sympy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sympy/sympy/merges","archive_url":"https://api.github.com/repos/sympy/sympy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sympy/sympy/downloads","issues_url":"https://api.github.com/repos/sympy/sympy/issues{/number}","pulls_url":"https://api.github.com/repos/sympy/sympy/pulls{/number}","milestones_url":"https://api.github.com/repos/sympy/sympy/milestones{/number}","notifications_url":"https://api.github.com/repos/sympy/sympy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sympy/sympy/labels{/name}","releases_url":"https://api.github.com/repos/sympy/sympy/releases{/id}","created_at":"2010-04-30T20:37:14Z","updated_at":"2015-05-29T07:03:19Z","pushed_at":"2015-05-29T11:54:52Z","git_url":"git://github.com/sympy/sympy.git","ssh_url":"git@github.com:sympy/sympy.git","clone_url":"https://github.com/sympy/sympy.git","svn_url":"https://github.com/sympy/sympy","homepage":"http://sympy.org/","size":153785,"stargazers_count":2153,"watchers_count":2153,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1065,"mirror_url":null,"open_issues_count":1898,"forks":1065,"open_issues":1898,"watchers":2153,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sympy/sympy/pulls/7860"},"html":{"href":"https://github.com/sympy/sympy/pull/7860"},"issue":{"href":"https://api.github.com/repos/sympy/sympy/issues/7860"},"comments":{"href":"https://api.github.com/repos/sympy/sympy/issues/7860/comments"},"review_comments":{"href":"https://api.github.com/repos/sympy/sympy/pulls/7860/comments"},"review_comment":{"href":"https://api.github.com/repos/sympy/sympy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sympy/sympy/pulls/7860/commits"},"statuses":{"href":"https://api.github.com/repos/sympy/sympy/statuses/4b4440bea41ab554c1ba071d39bae6705d03330f"}}}}