Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 62934 invoked from network); 15 May 2008 19:57:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 May 2008 19:57:20 -0000 Received: (qmail 87544 invoked by uid 500); 15 May 2008 19:57:20 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 87482 invoked by uid 500); 15 May 2008 19:57:20 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 87470 invoked by uid 99); 15 May 2008 19:57:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 May 2008 12:57:20 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 May 2008 19:56:34 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 96E05234C115 for ; Thu, 15 May 2008 12:56:55 -0700 (PDT) Message-ID: <1779561189.1210881415616.JavaMail.jira@brutus> Date: Thu, 15 May 2008 12:56:55 -0700 (PDT) From: "Luc Maisonobe (JIRA)" To: issues@commons.apache.org Subject: [jira] Resolved: (MATH-205) Mathematical error in comment for FastCosineTransformer In-Reply-To: <743733295.1210778875768.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on 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.