JIT-Optimized Math Expression
MIT License
JIT-Optimized Math Expression
#include <jitome.hpp>
int main()
{
std::string func_body = "(a, b, c) {a + b * c}";
jitome::JitCompiler<double(double, double, double)> func(func_body);
std::cout << func(1.0, 2.0, 3.0) << std::endl; // prints 7
return 0;
}
See syntax.abnf.
This product is licensed under the terms of the MIT License.
All rights reserved.