{"action":"created","issue":{"url":"https://api.github.com/repos/ajkeller34/Unitful.jl/issues/12","repository_url":"https://api.github.com/repos/ajkeller34/Unitful.jl","labels_url":"https://api.github.com/repos/ajkeller34/Unitful.jl/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/ajkeller34/Unitful.jl/issues/12/comments","events_url":"https://api.github.com/repos/ajkeller34/Unitful.jl/issues/12/events","html_url":"https://github.com/ajkeller34/Unitful.jl/issues/12","id":173637454,"number":12,"title":"Some details for usage in DifferentialEquations","user":{"login":"ChrisRackauckas","id":1814174,"avatar_url":"https://avatars.githubusercontent.com/u/1814174?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisRackauckas","html_url":"https://github.com/ChrisRackauckas","followers_url":"https://api.github.com/users/ChrisRackauckas/followers","following_url":"https://api.github.com/users/ChrisRackauckas/following{/other_user}","gists_url":"https://api.github.com/users/ChrisRackauckas/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisRackauckas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisRackauckas/subscriptions","organizations_url":"https://api.github.com/users/ChrisRackauckas/orgs","repos_url":"https://api.github.com/users/ChrisRackauckas/repos","events_url":"https://api.github.com/users/ChrisRackauckas/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisRackauckas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-28T09:17:17Z","updated_at":"2016-08-29T21:48:07Z","closed_at":null,"body":"Hey, I was thinking of adding compatibility to this package in differential equations. I have already made the ODE parts fully compatible with SIUnits, though it seems there are limitations to that package which led me here. However, there are a few things I wanted to discuss that I couldn't find in the documentation:\r\n\r\n1. I see that rational dimensions are accepted. This is good since Brownian motion for SDEs has a natural dimension of sqrt(dt). So for reference, does the `sqrt` function work with Unitful units?\r\n\r\n2. How does `\\` and sparse matrix multiplication do? Those would be required for the PDE solvers. SIUnits runs into problems with `\\` since it calls CHOLMOD, either there needs to be a dispatch which strips the units and then puts them back on (and checks afterwards that the units work?). I'm not sure what goes wrong with SIUnits sprase matrix multiplication. I think it makes zeros that aren't unit'd and then the unit checks go wrong.\r\n\r\n3. This package would have to get registered to be a dependency. Is that likely in the future?\r\n\r\n4. Is there a max(x,y) for AbstractArrays of (same dimension) unit'd quantities in Unitful? "},"comment":{"url":"https://api.github.com/repos/ajkeller34/Unitful.jl/issues/comments/243267766","html_url":"https://github.com/ajkeller34/Unitful.jl/issues/12#issuecomment-243267766","issue_url":"https://api.github.com/repos/ajkeller34/Unitful.jl/issues/12","id":243267766,"user":{"login":"ChrisRackauckas","id":1814174,"avatar_url":"https://avatars.githubusercontent.com/u/1814174?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisRackauckas","html_url":"https://github.com/ChrisRackauckas","followers_url":"https://api.github.com/users/ChrisRackauckas/followers","following_url":"https://api.github.com/users/ChrisRackauckas/following{/other_user}","gists_url":"https://api.github.com/users/ChrisRackauckas/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisRackauckas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisRackauckas/subscriptions","organizations_url":"https://api.github.com/users/ChrisRackauckas/orgs","repos_url":"https://api.github.com/users/ChrisRackauckas/repos","events_url":"https://api.github.com/users/ChrisRackauckas/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisRackauckas/received_events","type":"User","site_admin":false},"created_at":"2016-08-29T21:48:07Z","updated_at":"2016-08-29T21:48:07Z","body":"Ok cool! Then I think I will be able to make everything compatible with Unitful without adding it as a dependency. That was almost the case with SIUnits (except for a few rough edges like max), and was done mostly by setting types of things like `ratetype = typeof(u/t)` (changes the dimension by time if units exists, else same type as `u`). If Unitful acts similarly with units/types (which from what I read, it does?) it should work almost out of the box.\r\n\r\n"}}
{"actor":{"display_login":"ChrisRackauckas"}}