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);
Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values, timewatch, extensions to STL.
This base provides a set of functions for maths stuff.
TEST(RuntimeCompiledExpression, SimpleTest)
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.