I try to compile C++ Mathematical Expression Library (http://www.partow.net/programming/exprtk/index.html) by Arash Parto. Unfort. I do not succeed using 10.2. erf, erff, etc. are not found.
File try to compile:
#pragma hdrstop
#pragma…
I asked very specific question here but I realized where the problem is and it's slightly more general.
Seeing ALL exprtk examples and code pieces, everyone uses exprtk's basic metod add_variable as
double variab;
exprtk::symbol_table…
The problem is as follows.
A text file contains millions of lines of arithmetic - which need quick evaluation.
I have been exploring my options for this problem and have written a little script using the nice exprtk C++ library.
The code works and…
Is it possible to get the returned strings from an Exprtk expression? The code below returns NaN as answer, which is to be expected. But getting the string, in this case 'One', only seems possible using a return[] statement or by using an explicit…
Is there a built-in method to use wide (16-bit) character strings in Exprtk? I have modified the source code exprtk.hpp to accomplish this and it seems to work correctly. It is not my preferred way to go about it though as I'm not sure that I…
A compilation error occurred while trying to build my code. The error message states that the file "exprtk.hpp" cannot be found. I checked again and confirmed that the file exists in the specified location.
#include
#include…
I would like to query all available function names from a symbol_table. I can see that symbol_table has methods for getting variables, vectors, and stringvars (i.e. symbol_table::get_variable_list). However, I don't see a corresponding…
I'm trying to run this code:
exprtk::parser parser;
exprtk::expression expression;
parser.compile("5 > 6", expression);
std::cout << expression.value() << "\n";
But I get this error:
'exprtk::expression::operator T(void) const':…
I have been using the ExprTk library quite frequently in the past in order to further process large output files generated with Mathematica (containing mathematical expressions) in C.
Until now, I exclusively used this library to process expressions…
I'm trying to learn how to use the parsing library exprtk with objects of a custom class - I'm still learning C++, tbh but I can write functional non-OO code.
I am trying to follow an example from the repo, but with objects that I'd have…
The application want to parse a string equation to mathematics and return the data to user. for this purpose the library is used is exprtk
for easy analysis I have shared minimum working code
minimum working code
when application parses the string…
I'm evaluating using exprtk to evaluate string expressions (e.g., "a"+"b") an, as such, I've tried to create a std::string parser (exprtk::parser).
This throws out a bunch of errors in compilation about multiple overloaded methods that instantiate…