OPALX (Object Oriented Parallel Accelerator Library for Exascal)
MINIorX
OPALX
matheval.cpp
Go to the documentation of this file.
1
#include "
Utilities/MSLang/matheval.hpp
"
2
3
namespace
mslang
{
4
double
parseMathExpression
(
const
std::string &str) {
5
return
matheval::parse<double>
(str, {});
6
}
7
}
matheval.hpp
mslang
Definition
MSLang.cpp:30
mslang::parseMathExpression
double parseMathExpression(const std::string &str)
Definition
matheval.cpp:4
matheval::parse
real_t parse(Iterator first, Iterator last, typename detail::eval_ast< real_t >::symbol_table_t const &st)
Convenience function.
Definition
matheval.hpp:630