"ComplexFormat" when the imaginary part is equal to "1" (as a formatted string)
-------------------------------------------------------------------------------
Key: MATH-617
URL: https://issues.apache.org/jira/browse/MATH-617
Project: Commons Math
Issue Type: Improvement
Reporter: Gilles
Assignee: Gilles
Priority: Trivial
Fix For: 3.0
Currently, for the instance
{code}
Complex(1, 1)
{code}
the "format" method in "ComplexFormat" outputs
{noformat}
1 + 1i
{noformat}
Shall I modify the code so that it will output a nicer
{noformat}
1 + i
{noformat}
instead?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira