Conversation
|
Thanks for the new operations! This generally looks good, and I put a few in-line comments in the PR. To get these operations tested (at a very basic level), you should edit the "Every operation" test for the various evaluators, e.g. here, here, and here For cleanliness, you could change the loop to something like This will get your new functions evaluated, while skipping opcodes that can't be constructed naturally. You could also add a few spot checks, using the |
|
I added the testing, although I couldn't quite interpret what to check for in the derivatives, but came up with some simple smell tests, based on what'ts already there. |
|
This generally looks good, but I'm having trouble building it locally: It looks like (with similar errors for Sure enough, |
|
You are right it's on the master branch, I didn't realize it was not released yet. It's not clear to me when they will make another release, but I imagine these changes would be a part of that release. |
|
I looked at pasting in the We probably shouldn't require a master build of Eigen, although it's frustrating that they haven't released in a while. I think the simplest option is either We use |
|
Eigen3 has made two new releases: http://eigen.tuxfamily.org/index.php?title=Main_Page |
|
Oh cool, I'll check it out! |
I have attempted to implement hyperbolic functions in libfive.
I am rather unsure of what all I actually needed to change.
Currently it compiles, but I haven't written any tests, and I am unsure of the correct bounds.
Additionally it appears that c++11 flag is required from eigen
see:#347