Uploaded image for project: 'Commons Numbers'
  1. Commons Numbers
  2. NUMBERS-65

"RootsOfUnity" vs "nthRoot"

    XMLWordPrintableJSON

Details

    Description

      There is partial overlap of functionality between class RootsOfUnity and method nthRoot (in class Complex).

      The latter is more general (any complex number) but the former allows a negative argument (to specify clockwise ordering).

      Also, the implementations are different; it should be checked which is more accurate (and then account for possible performance trade-offs).

      API-wise, I think that we should keep nthRoot (and delete RootsOfUnity).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: