Donate Share

muParser - A fast math parser library

Code

Programming Languages: C++

License: MIT License

Repositories

browse code, statistics, last commit on 2009-11-24 svn co https://muparser.svn.sourceforge.net/svnroot/muparser muparser

Show:

What's happening?

  • muParser - A fast math parser library

    frm committed revision 237 to the muParser - A fast math parser library SVN repository, changing 20 files.

    2009-11-24 23:14:26 UTC by frm

  • muParser - A fast math parser library

    frm committed revision 236 to the muParser - A fast math parser library SVN repository, changing 1 files.

    2009-11-24 23:12:00 UTC by frm

  • Added functionality to muparser

    Hi Everyone, I made some modifications to muparser that I think may interest some people. I added the possibility to include more that one equation in an expression. For instance one can create a parser object with the following <pre> X=A+B Y=X+A Z=X+Y A =Y </pre> and if the values of A and B are set to 3 and 10, as a result the values for A, B, X Y and Z will be...

    2009-09-21 17:37:08 UTC by alain001

  • Followup: RE: Help with DefineFun

    Switching from Unicode to "Not Set" worked like a charm. It compiled and ran fine. Thank you for the help.

    2009-08-19 19:41:28 UTC by jamesx007

  • Followup: RE: Help with DefineFun

    oops forgot to mention the variable declaration is in the Form Class. It is an Windows Form Application in C++. And there was a typo last message XD I "don't" remember/know enough :) forgot the word don't.

    2009-08-19 16:50:07 UTC by jamesx007

  • Followup: RE: Help with DefineFun

    Yeah that is the main reason I switched to Java, then VB. I haven't programmed C++ in over 7 years and is really rusty. When I declared the variables as normal variables the C++ wont' compile saying mixed type are not allowed. So I had to make the variables as pointers, initializing them at constructor and delete them at destruction. It is a pain but I remember/know enough about C++ to...

    2009-08-19 16:42:31 UTC by jamesx007

  • Followup: RE: Is there a VB Wrapper for MuParser?

    No, but there is a C# wrapper: https://www.codeproject.com/KB/recipes/muParser.aspx.

    2009-08-19 09:08:33 UTC by ibg

  • Followup: RE: Help with DefineFun

    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 by ibg

  • Followup: RE: Help with DefineFun

    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 by ibg

  • Help with DefineFun

    I am very very rusty with C++ and I am trying to figure out how to use DefineFun with a string variable instead of typing the actual name in. I have public: mu::Parser *parser; string *FunctionName_Ceiling; string *FunctionName_Floor; in my class Defintion then later on in the constructor I have parser = new mu::Parser(); FunctionName_Ceiling =...

    2009-08-19 00:52:40 UTC by jamesx007

Our Numbers