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 2011/02/27 13:58:58 UTC

[jira] Resolved: (MATH-536) String representation of polynomials

     [ https://issues.apache.org/jira/browse/MATH-536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gilles resolved MATH-536.
-------------------------

    Resolution: Fixed

Revision 1075048.

> String representation of polynomials
> ------------------------------------
>
>                 Key: MATH-536
>                 URL: https://issues.apache.org/jira/browse/MATH-536
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Gilles
>            Assignee: Gilles
>            Priority: Trivial
>             Fix For: 3.0
>
>
> The "toString" method in "PolynomialFunction" actually creates strings like
> {noformat}
>   1.0 - 3.0 x + x^2
> {noformat}
> whereas the Javadoc provides this example:
> {noformat}
>   1 - 3 x + x^2
> {noformat}
> The second form is indeed more user-friendly.
> I propose to modify the code so that the redundant ".0" suffix is removed.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira