{"action":"created","issue":{"url":"https://api.github.com/repos/SciRuby/nmatrix/issues/359","labels_url":"https://api.github.com/repos/SciRuby/nmatrix/issues/359/labels{/name}","comments_url":"https://api.github.com/repos/SciRuby/nmatrix/issues/359/comments","events_url":"https://api.github.com/repos/SciRuby/nmatrix/issues/359/events","html_url":"https://github.com/SciRuby/nmatrix/issues/359","id":74965938,"number":359,"title":"nmatrix extension to support math on matrices with missing data","user":{"login":"v0dro","id":2629909,"avatar_url":"https://avatars.githubusercontent.com/u/2629909?v=3","gravatar_id":"","url":"https://api.github.com/users/v0dro","html_url":"https://github.com/v0dro","followers_url":"https://api.github.com/users/v0dro/followers","following_url":"https://api.github.com/users/v0dro/following{/other_user}","gists_url":"https://api.github.com/users/v0dro/gists{/gist_id}","starred_url":"https://api.github.com/users/v0dro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v0dro/subscriptions","organizations_url":"https://api.github.com/users/v0dro/orgs","repos_url":"https://api.github.com/users/v0dro/repos","events_url":"https://api.github.com/users/v0dro/events{/privacy}","received_events_url":"https://api.github.com/users/v0dro/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SciRuby/nmatrix/labels/wontfix","name":"wontfix","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-10T17:47:27Z","updated_at":"2015-05-13T11:12:27Z","closed_at":"2015-05-12T20:02:42Z","body":"Say I have an NMatrix: \r\n``` ruby\r\n\r\nn = NMatrix.new([3], [1,2,Float::NAN]. dtype: :float64)\r\n```\r\n\r\nCurrently calling `n.mean` produces `NAN`. It would be great if an optional extension could be created (after @wlevine's project is done) for producing meaningful output by skipping the `NAN`, wherever it occurs in the vector."},"comment":{"url":"https://api.github.com/repos/SciRuby/nmatrix/issues/comments/101630115","html_url":"https://github.com/SciRuby/nmatrix/issues/359#issuecomment-101630115","issue_url":"https://api.github.com/repos/SciRuby/nmatrix/issues/359","id":101630115,"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-05-13T11:12:27Z","updated_at":"2015-05-13T11:12:27Z","body":"That's what a monkey patch is.\nOn Wed, May 13, 2015 at 5:55 AM Sameer Deshmukh <notifications@github.com>\nwrote:\n\n> Why not create an optional extension (or plug-in) that will implement\n> certain algorithms differently? I'm saying put this in the mainline nmatrix\n> code.\n>\n> The scope of the code will increase manifold.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/SciRuby/nmatrix/issues/359#issuecomment-101601582>.\n>\n"}}