Menu

Greater than and Less than

Mai
2005-09-28
2013-04-23
  • Mai

    Mai - 2005-09-28

    Hello,

    is it possible with Maps to use > and < or <= and >= in the mathematical expressions and evaluate it to true or false?

    I'm looking for a mathematical parser that can evaluate to true or false.

    Does anybody know such a parser.
    I'd really appreciate any help.

     
    • storm$

      storm$ - 2005-10-03

      > is it possible with Maps to use > and < or <=
      > and >= in the mathematical expressions and
      > evaluate it to true or  false?

      No.  MESP only supports numbers right now.
      Support for boolean expressions will be later.

      > Does anybody know such a parser.

      I know JEP does.  There is another one called
      Impression, but I don't know about it.  Try the
      search feature:

      http://sourceforge.net/search/?type_of_search=soft&exact=1&forum_id=0&group_id=0&atid=0&words=math+parser+java&Search=Search

       
      • Mai

        Mai - 2005-10-04

        Thank you for your reply!

         
    • bestcode

      bestcode - 2005-12-25

      There is a mathematical expression parser (formula parser) available at <a href="http://www.bestcode.com/html/mathparser.html">http://www.bestcode.com/html/mathparser.html</a>

      It supports logical operators: <, >, =, <>, >=, <=, &, |, !

      The parser comes in four different languages:

      Delphi VCL component that can also be used in C++ Builder.
      ActiveX (COM) Component that resides in a DLL. Written in Visual C++ using ATL.
      Java version.
      .Net version written in C# (CSharp)

      They all have source code available.

      Operators: +, -, /, *, ^
      Logical Operators: <, >, =, <>, >=, <=, &, |, ! [IF(condition,case1,case2) is supported]
      The expression to be parsed can contain predefined or user defined functions and variables. Functions can take many parameters.
      It has good error reporting such that it can be used to get error about an undefined variable and define it and try again for example.
      The parser can optionally optimize expressions by evaluating contstant portions at once to speed up repeated evaluations when
      expression remains unchanged but parameters change.

      .NET version supports string values.

      Math Parser for Delphi: <a href="http://www.bestcode.com/html/tbcparser.html">http://www.bestcode.com/html/tbcparser.html</a>
      Math Parser for COM   : <a href="http://www.bestcode.com/html/bcparserx.html">http://www.bestcode.com/html/bcparserx.html</a>
      Math parser for Java  : <a href="http://www.bestcode.com/html/jbcparser.html">http://www.bestcode.com/html/jbcparser.html</a>
      Math Parser for .NET  : <a href="http://www.bestcode.com/html/bcparser_net.html
      ">http://www.bestcode.com/html/bcparser_net.html</a>

      Cheers!

      Veli support@bestcode.com

       
    • bestcode

      bestcode - 2005-12-25

      Oh man, the links messed up my previous post, lets try again:

      There is a mathematical expression parser (formula parser) available at http://www.bestcode.com/html/mathparser.html

      It supports logical operator that you are asking: &lt;, &gt;, =, &lt;&gt;, &gt;=, &lt;=, &amp;, |, !

      The parser comes in four different languages:

      Delphi VCL component that can also be used in C++ Builder.
      ActiveX (COM) Component that resides in a DLL. Written in Visual C++ using ATL.
      Java version.
      .Net version written in C# (CSharp)

      They all have source code available.

      Operators: +, -, /, *, ^
      Logical Operators: &lt;, &gt;, =, &lt;&gt;, &gt;=, &lt;=, &amp;, |, ! [IF(condition,case1,case2) is supported]
      The expression to be parsed can contain predefined or user defined functions and variables. Functions can take many parameters.
      It has good error reporting such that it can be used to get error about an undefined variable and define it and try again for example.
      The parser can optionally optimize expressions by evaluating contstant portions at once to speed up repeated evaluations when
      expression remains unchanged but parameters change.

      .NET version supports string values.

      Math Parser for Delphi: http://www.bestcode.com/html/tbcparser.html
      Math Parser for COM   : http://www.bestcode.com/html/bcparserx.html
      Math parser for Java  : http://www.bestcode.com/html/jbcparser.html
      Math Parser for .NET  : www.bestcode.com/html/bcparser_net.html

      Cheers!

      Veli support@bestcode.com

       
    • storm$

      storm$ - 2006-01-08

      I think if you wanted to provide a single link to your site that would be fine.  However, spanning this forum with unrelated links is lacking in netiquette.

      You should have also mentioned that your code is not open source and must be purchased.

      I have looked at your math API and it is hardly the "best code".  In fact, I was surprised you were trying to get people to pay for it.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.