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