refactor(functors) to make InstantiateFunctors.cpp a bit more flexible
We really should strive to have every functor instantiated for every time we aim to support.
I hope that this is now possible with fewer lines of code, in InstantiateFunctors.cpp
.
Additionally, this MR introduces a bit of documentation in that test file, and adds a few more tests.
2 small problems were found by adding more tests, which this MR also fixed:
- missing deref in ipchi2 functor
- missing include in
JIT_includes.h
Edited by Christoph Hasse