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.