{"action":"created","issue":{"url":"https://api.github.com/repos/stan-dev/math/issues/390","repository_url":"https://api.github.com/repos/stan-dev/math","labels_url":"https://api.github.com/repos/stan-dev/math/issues/390/labels{/name}","comments_url":"https://api.github.com/repos/stan-dev/math/issues/390/comments","events_url":"https://api.github.com/repos/stan-dev/math/issues/390/events","html_url":"https://github.com/stan-dev/math/pull/390","id":176077599,"number":390,"title":"Feature/issue 32 matrix exponential","user":{"login":"charlesm93","id":13968778,"avatar_url":"https://avatars.githubusercontent.com/u/13968778?v=3","gravatar_id":"","url":"https://api.github.com/users/charlesm93","html_url":"https://github.com/charlesm93","followers_url":"https://api.github.com/users/charlesm93/followers","following_url":"https://api.github.com/users/charlesm93/following{/other_user}","gists_url":"https://api.github.com/users/charlesm93/gists{/gist_id}","starred_url":"https://api.github.com/users/charlesm93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charlesm93/subscriptions","organizations_url":"https://api.github.com/users/charlesm93/orgs","repos_url":"https://api.github.com/users/charlesm93/repos","events_url":"https://api.github.com/users/charlesm93/events{/privacy}","received_events_url":"https://api.github.com/users/charlesm93/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":30,"created_at":"2016-09-09T18:32:34Z","updated_at":"2016-10-18T18:29:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/stan-dev/math/pulls/390","html_url":"https://github.com/stan-dev/math/pull/390","diff_url":"https://github.com/stan-dev/math/pull/390.diff","patch_url":"https://github.com/stan-dev/math/pull/390.patch"},"body":"#### Submisison Checklist\r\n\r\n- [ ] Run unit tests: `./runTests.py test/unit`\r\n    -- ran the unit tests for the new feature I created (both high-level and internal functions)\r\n- [x] Run cpplint: `make cpplint`\r\n- [x] Declare copyright holder and open-source license: see below\r\n\r\n#### Summary:\r\nAdd matrix_exp() functions: computes the matrix exponential of the input matrix. Uses method from Eigen/unsupported (Pade approximation + scaling and squaring), and a specialized algorithms for 2x2 matrices. \r\n\r\n#### How to Verify:\r\nUses unit tests:\r\ntest/unit/math/prim/mat/fun/matrix_exp_test.cpp\r\ntest/unit/math/rev/mat/fun/matrix_exp_test.cpp\r\ntest/unit/math/fwd/mat/fun/matrix_exp_test.cpp\r\n\r\nInternal functions that support matrix_exp() also have their own unit tests. \r\n\r\n#### Side Effects:\r\n\r\nNone. \r\n\r\n#### Documentation:\r\n\r\nDoxygen.\r\n\r\n#### Reviewer Suggestions: \r\n\r\nAnybody familiar with matrix exponentials. \r\n\r\n#### Copyright and Licensing\r\n\r\nMetrum Research Group LLC\r\n\r\nBy submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:\r\n- Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)\r\n- Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)\r\n\r\nNote: I used and edited a file from Eigen/unsupported 3.3.0-beta2. The copyright information is written at the top of the file and is unchanged. Said file is stan/math/prim/mat/fun/MatrixExponential.h \r\n"},"comment":{"url":"https://api.github.com/repos/stan-dev/math/issues/comments/254596971","html_url":"https://github.com/stan-dev/math/pull/390#issuecomment-254596971","issue_url":"https://api.github.com/repos/stan-dev/math/issues/390","id":254596971,"user":{"login":"bob-carpenter","id":3383807,"avatar_url":"https://avatars.githubusercontent.com/u/3383807?v=3","gravatar_id":"","url":"https://api.github.com/users/bob-carpenter","html_url":"https://github.com/bob-carpenter","followers_url":"https://api.github.com/users/bob-carpenter/followers","following_url":"https://api.github.com/users/bob-carpenter/following{/other_user}","gists_url":"https://api.github.com/users/bob-carpenter/gists{/gist_id}","starred_url":"https://api.github.com/users/bob-carpenter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bob-carpenter/subscriptions","organizations_url":"https://api.github.com/users/bob-carpenter/orgs","repos_url":"https://api.github.com/users/bob-carpenter/repos","events_url":"https://api.github.com/users/bob-carpenter/events{/privacy}","received_events_url":"https://api.github.com/users/bob-carpenter/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T18:29:23Z","updated_at":"2016-10-18T18:29:23Z","body":"Yes, Eigen::NumTraits is a class.   You can look these things\nup in the Eigen doc.  It's pretty well indexed.\n\n"}}
{"actor":{"display_login":"bob-carpenter"}}