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

Merge (most of) ComplexUtils into Complex

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1
    • None
    • None
    • None

    Description

      All but two of the functions in ComplexUtils operate on a single Complex instance. I think it would make coding easier (esp. with an IDE) if the ComplexUtils functions were merged into Complex. For example, using the cos function changes from:

      Complex cosA = ComplexUtils.cos(a);
      to
      Complex cosA = a.cos();

      Attachments

        1. commons-math-complex-func-v2.patch
          44 kB
          Niall Pemberton
        2. commons-math-complex-func.patch
          42 kB
          Niall Pemberton

        Activity

          People

            Unassigned Unassigned
            niallp Niall Pemberton
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: