You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gilles (JIRA)" <ji...@apache.org> on 2012/06/30 20:18:45 UTC

[jira] [Commented] (MATH-809) Expressions and functions interpreter

    [ https://issues.apache.org/jira/browse/MATH-809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404594#comment-13404594 ] 

Gilles commented on MATH-809:
-----------------------------

Thanks for your interest in Commons Math. A new feature such as this one should first be discussed in the "dev" ML:
http://commons.apache.org/math/mail-lists.html

However something similar (IIRC) came up some time ago, and the conclusion was that it didn't belong in the Commons Math project. The reason was that the focus here is on numerical methods, not on input/output (in your case: parsing a string that happens to represent a mathematical function).

Your interpreter library could of course _depend_ on the Commons Math library. But I cannot see how it would be more useful by being _within_ Commons Math itself.

If you are not satified with this explanation, please post a message to the ML (using a prefix of "[Math]" in the subject line, as the list is shared with other "Commons" projects).
                
> Expressions and functions interpreter
> -------------------------------------
>
>                 Key: MATH-809
>                 URL: https://issues.apache.org/jira/browse/MATH-809
>             Project: Commons Math
>          Issue Type: New Feature
>    Affects Versions: 3.1
>            Reporter: Guillaume Chauvet
>            Priority: Trivial
>         Attachments: interpreter.patch
>
>
> Expressions and functions interpreter forked from exp4j library (http://projects.congrace.de/exp4j, an Apache 2 project). This implementation use Dijkstra's Shunting Yard Algorithm. The patch also allows parsing of E notation numbers in expressions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira