-
No, but there is a C# wrapper:
https://www.codeproject.com/KB/recipes/muParser.aspx.
2009-08-19 09:08:33 UTC in muParser - A fast math parser library
-
You appear to have an affinity for dynamic allocation but C++ is not C#. There is no garbage collector that will clean up for you. Nevertheless the code should compile. I suspect you are using an UNICODE so try std::wstring instead of string or disable UNICODE in the project settings.
a general example is here:
http://muparser.sourceforge.net/mup_version.html#idExample.
2009-08-19 09:07:35 UTC in muParser - A fast math parser library
-
You appear to have an affinity for dynamic allocation but C++ is not C#. There is no garbage collector that will clean up for you. Nevertheless the code should compile. I suspect you are using an UNICODE so try std::wstring instead of string or disable UNICODE in the project settings.
a general example is here:
http://muparser.sourceforge.net/mup_version.html#idExample
parser = new...
2009-08-19 09:06:53 UTC in muParser - A fast math parser library
-
Why do you need this information? I could add callbacks to muParser that are hit whenever an operator is found during expression parsing but at the moment i don't see the use of it.
2009-08-01 13:20:38 UTC in muParser - A fast math parser library
-
ibg made 1 file-release changes.
2009-08-01 13:03:02 UTC in muParser - A fast math parser library
-
No, i don't see the need for this. Thats a simple character counting operation that should be done outside of muparser.
2009-07-31 23:51:52 UTC in muParser - A fast math parser library
-
Hi,
If the example on the muparser webpage does not help i'm afraid I can't do much...
http://muparser.sourceforge.net/mup_interface.html#idDefVarIm
Sorry but i can't write C++ code for you if i have no clue how to interface with objective C. I can't embed your methods because i have no clue how types and pointers are handled when interfacing objective C from within C++. Refering to...
2009-07-26 00:32:00 UTC in muParser - A fast math parser library
-
Hi,
i'm unfamilliar with Objective-C or NSMutableDictionary so i wo'nt be able to give you specific help. The factory callback is hit whenever an expression is parsed and a token is found that could be a variable but is not defined as such. It gives the designer the chance to allocate space for the new variable and lookup a proper value.
I suspect you would need to write a C++ wrapper for...
2009-07-18 10:14:28 UTC in muParser - A fast math parser library
-
"value_type" is just a typedef to "double", no conversion needed. Treat it as a double value. Referencing the type with the name "value_type" is just important if you change the muParser datatype to float and want to avoid renaming all variables in your code thats using muParser.
Regards,
Ingo.
2009-06-29 21:37:27 UTC in muParser - A fast math parser library
-
Member callbacks would be nice to have but i can't fit them into a design that has an interface useable from C. Apart from that they are a bit slower due to the additional parameter overhead. Originally i wanted the to write the fastest possible math parser so that was an issue for me in the beginning. Even if my opinion on this has softened a bit the limitation still persists due to parser...
2009-06-29 21:31:41 UTC in muParser - A fast math parser library