commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (MATH-536) String representation of polynomials
Date Sun, 27 Feb 2011 12:58:58 GMT

     [ 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

        

Mime
View raw message