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

Mathematical error in comment for FastCosineTransformer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.2
    • None
    • None
    • None

    Description

      The formula in the comments for transform() method of FastCosineTransformer has the form:

      F_n = (1/2) [f_0 + (-1)^n f_N] + \Sum_

      {k=0}

      ^

      {N-1} f_k \cos(\pi nk/N)

      This is incorrect and should be

      F_n = (1/2) [f_0 + (-1)^n f_N] + \Sum_{k=1}^{N-1}

      f_k \cos(\pi nk/N)

      Attachments

        Activity

          People

            Unassigned Unassigned
            rwerp Roman Werpachowski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: