{"action":"created","issue":{"url":"https://api.github.com/repos/SciRuby/nmatrix/issues/333","labels_url":"https://api.github.com/repos/SciRuby/nmatrix/issues/333/labels{/name}","comments_url":"https://api.github.com/repos/SciRuby/nmatrix/issues/333/comments","events_url":"https://api.github.com/repos/SciRuby/nmatrix/issues/333/events","html_url":"https://github.com/SciRuby/nmatrix/pull/333","id":61693438,"number":333,"title":"Random orthogonal NMatrix","user":{"login":"agisga","id":11449372,"avatar_url":"https://avatars.githubusercontent.com/u/11449372?v=3","gravatar_id":"","url":"https://api.github.com/users/agisga","html_url":"https://github.com/agisga","followers_url":"https://api.github.com/users/agisga/followers","following_url":"https://api.github.com/users/agisga/following{/other_user}","gists_url":"https://api.github.com/users/agisga/gists{/gist_id}","starred_url":"https://api.github.com/users/agisga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agisga/subscriptions","organizations_url":"https://api.github.com/users/agisga/orgs","repos_url":"https://api.github.com/users/agisga/repos","events_url":"https://api.github.com/users/agisga/events{/privacy}","received_events_url":"https://api.github.com/users/agisga/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-14T20:44:11Z","updated_at":"2015-03-17T13:42:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SciRuby/nmatrix/pulls/333","html_url":"https://github.com/SciRuby/nmatrix/pull/333","diff_url":"https://github.com/SciRuby/nmatrix/pull/333.diff","patch_url":"https://github.com/SciRuby/nmatrix/pull/333.patch"},"body":"I have written a shortcut NMatrix.randomortho (or NMatrix.randortho) to randomly generate an *orthogonal* NMatrix. More precisely, the algorithm creates a Householder matrix from random numbers, which is similar to Stewart 1980, \"The Efficient Generation of Random Orthogonal Matrices  with an Application to Condition Estimators\", though much simplified.\r\nRandom orthogonal matrix generation is often required in Monte Carlo simulations, and I believe in some optimization algorithms. It can also be useful for prototyping and checking other computational methods."},"comment":{"url":"https://api.github.com/repos/SciRuby/nmatrix/issues/comments/82357840","html_url":"https://github.com/SciRuby/nmatrix/pull/333#issuecomment-82357840","issue_url":"https://api.github.com/repos/SciRuby/nmatrix/issues/333","id":82357840,"user":{"login":"mohawkjohn","id":165284,"avatar_url":"https://avatars.githubusercontent.com/u/165284?v=3","gravatar_id":"","url":"https://api.github.com/users/mohawkjohn","html_url":"https://github.com/mohawkjohn","followers_url":"https://api.github.com/users/mohawkjohn/followers","following_url":"https://api.github.com/users/mohawkjohn/following{/other_user}","gists_url":"https://api.github.com/users/mohawkjohn/gists{/gist_id}","starred_url":"https://api.github.com/users/mohawkjohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohawkjohn/subscriptions","organizations_url":"https://api.github.com/users/mohawkjohn/orgs","repos_url":"https://api.github.com/users/mohawkjohn/repos","events_url":"https://api.github.com/users/mohawkjohn/events{/privacy}","received_events_url":"https://api.github.com/users/mohawkjohn/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T13:42:42Z","updated_at":"2015-03-17T13:42:42Z","body":"Hi, thanks for the patch! I'd appreciate it if you could do two things for me before I look at this. Firstly, can you add an underscore to the method name (`random_ortho` and `rand_ortho`)? Secondly, can you please rebase your commits into a single one? This makes it much easier for us to look at your code and ultimately merge it."}}