Remove all Cephes source files except those needed for igami#2371
Remove all Cephes source files except those needed for igami#2371dellaert merged 3 commits intoborglab:developfrom
Conversation
e2cf9d4 to
ed2e9aa
Compare
|
I just noticed that Eigen has reimplementations of some cephes functions as well, including |
|
If that can be done, and we can kill cephes, that would definitely be preferable. |
ed2e9aa to
8f969cd
Compare
|
Renamed chi_squared_quantile. I'm not a math person, so no idea where to even start with reimplementing igami. We'll stick with our shrunken copy of cephes for now. |
AI can help you. you can try next PR. |
|
I don't think there is a need for reimplementation. @Gold856 could you rename all functions by adding a |
There was a problem hiding this comment.
Thanks! I’d still be happier if we could remove the entire third-party cephes folder, for example by creating a single c file inside that internal directory. But this is an improvement, so all for it.
One request: I think maybe we should probably add some text in cephes README (or add one) saying what we did here, and mention it’s done in accordance with license?
8f969cd to
785a20f
Compare
|
Done and done. |
|
Oopsies, compilation issue |
785a20f to
0a4175d
Compare
|
Whoops! I forgot to rename the igami call in gtsam itself (even though I already had the thought in my head at one point...) |
Sorry for the late comment, but this is problematic since it prevents us from easily updating |
|
It doesn't look like cephes is really getting any updates... I doubt that will be an issue. Easy to revert things back though, but yeah, I kinda dislike renaming symbols because it feels a bit icky to vendor a library then modify it with the only tracking mechanism being git. I would be surprised if Boost had reimplementations of C math functions. It wouldn't be out of place for Cephes, being from the literal 80s before even ANSI C was a thing, to contain C math functions for platforms/compilers that didn't have implementations. Boost on the other hand would've been able to rely on |
|
I don't like to talk about cephes updates :-). Boost is not an option. We're trying to purge it. |
Addresses #2337.