Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-614

"toString" method for "Complex"

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 3.0
    • None
    • None

    Description

      Class "Complex" (in package "complex") lacks a "toString()" method.
      [Request from Arne Ploese on the "dev" ML.]

      I also propose to slightly modify the "format" method in "ComplexFormat" so that the stringified version of "Complex(1, 1)" is "1 + i" instead of "1 + 1i".

      Attachments

        1. math.patch
          0.8 kB
          Hasan Diwan

        Issue Links

          Activity

            People

              erans Gilles Sadowski
              erans Gilles Sadowski
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: