commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roman Werpachowski (JIRA)" <j...@apache.org>
Subject [jira] Created: (MATH-205) Mathematical error in comment for FastCosineTransformer
Date Wed, 14 May 2008 15:27:55 GMT
Mathematical error in comment for FastCosineTransformer
-------------------------------------------------------

                 Key: MATH-205
                 URL: https://issues.apache.org/jira/browse/MATH-205
             Project: Commons Math
          Issue Type: Bug
    Affects Versions: 1.2
            Reporter: Roman Werpachowski
            Priority: Trivial


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)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message