{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaDiff/DualNumbers.jl/issues/19","labels_url":"https://api.github.com/repos/JuliaDiff/DualNumbers.jl/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/JuliaDiff/DualNumbers.jl/issues/19/comments","events_url":"https://api.github.com/repos/JuliaDiff/DualNumbers.jl/issues/19/events","html_url":"https://github.com/JuliaDiff/DualNumbers.jl/pull/19","id":83568618,"number":19,"title":"WIP: Generalized N-dimensional dual number implementation","user":{"login":"jrevels","id":3277443,"avatar_url":"https://avatars.githubusercontent.com/u/3277443?v=3","gravatar_id":"","url":"https://api.github.com/users/jrevels","html_url":"https://github.com/jrevels","followers_url":"https://api.github.com/users/jrevels/followers","following_url":"https://api.github.com/users/jrevels/following{/other_user}","gists_url":"https://api.github.com/users/jrevels/gists{/gist_id}","starred_url":"https://api.github.com/users/jrevels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrevels/subscriptions","organizations_url":"https://api.github.com/users/jrevels/orgs","repos_url":"https://api.github.com/users/jrevels/repos","events_url":"https://api.github.com/users/jrevels/events{/privacy}","received_events_url":"https://api.github.com/users/jrevels/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-06-01T15:42:29Z","updated_at":"2015-06-02T14:48:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JuliaDiff/DualNumbers.jl/pulls/19","html_url":"https://github.com/JuliaDiff/DualNumbers.jl/pull/19","diff_url":"https://github.com/JuliaDiff/DualNumbers.jl/pull/19.diff","patch_url":"https://github.com/JuliaDiff/DualNumbers.jl/pull/19.patch"},"body":"This PR implements the `DualN{N,T}` type, which stores epsilon components in an `NTuple{N,T}`. I basically ported and naively generalized the code for `Dual4`, so there's still a bit left to be done:\r\n\r\n- [ ] Figure out the right way to handle mixed dimensional cases (e.g. `f{A,B}(::DualN{A}, ::Dual{B})` where `A != B`)\r\n- [ ] Pretty printing for `DualN`\r\n- [ ] Replace the currently used `map`s  with inline code for the sake of performance (I'm assuming this performance difference hasn't been fixed as of v0.4).\r\n- [ ] Utilize `@simd` and `@inbounds` where safe/relevant in the inlined code from the previous checkbox\r\n- [ ] Figure out some better/more tests - I basically ripped the current ones from `Dual4`'s tests.\r\n- [ ] Figure out some solid benchmarks and test against `Dual4`\r\n\r\nThis is also my first time really working in v0.4 besides a few compatibility testing situations, so apologies if my code is \"v0.3ish\". Let me know what you think!\r\n\r\nEdit: Added a couple more checkboxes. Let me know which of the above goals (if any) should be split up into a different PR. "},"comment":{"url":"https://api.github.com/repos/JuliaDiff/DualNumbers.jl/issues/comments/107978897","html_url":"https://github.com/JuliaDiff/DualNumbers.jl/pull/19#issuecomment-107978897","issue_url":"https://api.github.com/repos/JuliaDiff/DualNumbers.jl/issues/19","id":107978897,"user":{"login":"scidom","id":2519036,"avatar_url":"https://avatars.githubusercontent.com/u/2519036?v=3","gravatar_id":"","url":"https://api.github.com/users/scidom","html_url":"https://github.com/scidom","followers_url":"https://api.github.com/users/scidom/followers","following_url":"https://api.github.com/users/scidom/following{/other_user}","gists_url":"https://api.github.com/users/scidom/gists{/gist_id}","starred_url":"https://api.github.com/users/scidom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scidom/subscriptions","organizations_url":"https://api.github.com/users/scidom/orgs","repos_url":"https://api.github.com/users/scidom/repos","events_url":"https://api.github.com/users/scidom/events{/privacy}","received_events_url":"https://api.github.com/users/scidom/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T14:48:11Z","updated_at":"2015-06-02T14:48:11Z","body":"It is not a big deal, just a thought only, would it feel more Julian/natural to call the package (and associated type) `NDual`? I am thinking along the lines of tuples for example, Julia has `Tuple` and `NTuple` for instance."}}