-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use InverseFunctions #52
Comments
Note: We can't switch before LogExpFunctions and StatsFuns support it though (if we don't want to introduce type piracy). |
Do we already have something pending on StatsFuns? |
No, I didn't push this issue the last weeks. I am up for reviewing a PR though. |
Sure, I can do one. Which functions in StatsFuns should be targeted? |
I guess the relevant functions in StatsFuns are the |
Yes, I guess everything that's defined in StatsFuns and not in LogExpFunctions. |
Uh, I was just about to get started, and then realized that those function do of course all take multiple arguments - Or would it be fine to just do normcdf & friends? What does GPLikelihoods need, here? |
And I just saw sqrt/square in inverse.jl here. I actually had that in an eary draft of InverseFunctions, but then took it out because Base has no inverse of We should add |
Ah true, yes, it only makes sense for one-argument functions. We only need |
What about |
No, everything in |
Ok, then let's just add Also - should we support it in ChangesOfVariables? Would require it to depend on InverseFunctions, but I don't think that should be a problem. |
InverseFunctions supports |
The package InverseFunctions.jl will be available in the registry soon and contain
inverse
+ definitions for functions in base. If other packages such as LogExpFunctions implement this interface we could replaceGPLikelihoods.inverse
withInverseFunctions.inverse
and remove our definitions.The text was updated successfully, but these errors were encountered: