12 #include <gtest/gtest.h>
21 TEST(RuntimeCompiledExpression, SimpleTest)
23 mrpt::math::CRuntimeCompiledExpression expr;
24 std::map<std::string, double> vars;
28 expr.compile(
"x^2+x*y+1", vars);
31 expr.eval(), vars[
"x"] * vars[
"x"] + vars[
"x"] * vars[
"y"] + 1.0, 1e-9);
TEST(RuntimeCompiledExpression, SimpleTest)
This base provides a set of functions for maths stuff.
Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values,...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.