You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Roman Werpachowski (JIRA)" <ji...@apache.org> on 2008/05/14 17:27:55 UTC
[jira] Created: (MATH-205) Mathematical error in comment for
FastCosineTransformer
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.
[jira] Resolved: (MATH-205) Mathematical error in comment for
FastCosineTransformer
Posted by "Luc Maisonobe (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MATH-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luc Maisonobe resolved MATH-205.
--------------------------------
Resolution: Fixed
fixed in trunk as of r656814
> 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.