Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 56365 invoked from network); 22 Feb 2011 13:12:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Feb 2011 13:12:06 -0000 Received: (qmail 79944 invoked by uid 500); 22 Feb 2011 13:12:05 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 79898 invoked by uid 500); 22 Feb 2011 13:12:02 -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 79890 invoked by uid 99); 22 Feb 2011 13:12:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Feb 2011 13:12:01 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Feb 2011 13:11:59 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7112A1B11E6 for ; Tue, 22 Feb 2011 13:11:38 +0000 (UTC) Date: Tue, 22 Feb 2011 13:11:38 +0000 (UTC) From: "Gilles (JIRA)" To: issues@commons.apache.org Message-ID: <1775476820.8113.1298380298459.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <675742887.6828.1298328759734.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Updated: (MATH-521) Changes in "HarmonicCoefficientsGuesser" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MATH-521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gilles updated MATH-521: ------------------------ Attachment: example_LaTeXLet.tar.gz This is an example IMO clearly demonstrating that a LaTeX equivalent of those ASCII structures would be # incomparably easier to decypher in the source file, and # be even more pleasant to read in the browser as a graphics file rendered by LaTeX. I've just discovered "LaTeXLet" a tool that does what I had talked about on the ML a few weeks ago: A custom taglet that allows LaTeX in Javadoc and renders it as PNG. Please have a look at the generated HTML doc (in the attachement) when run on the input file "DocSample.java" (also included). > Changes in "HarmonicCoefficientsGuesser" > ---------------------------------------- > > Key: MATH-521 > URL: https://issues.apache.org/jira/browse/MATH-521 > Project: Commons Math > Issue Type: Improvement > Reporter: Gilles > Assignee: Gilles > Priority: Minor > Labels: api-change, documentation > Fix For: 3.0 > > Attachments: example_LaTeXLet.tar.gz > > > (1) The "guess" method throws "OptimizationException" when the algorithm fails to determine valid values for amplitude and angular frequency. > There are no test showing how such a situation can occur. > Moreover, since this procedure is used to provide an initial guess to an optimizer, it is better to pick any values for those parameters (e.g. zero) and let the optimizer proceed from that initial point. > (2) The class javadoc seems very thorough in explaining the algorithm, but is quite unreadable in the source code, making it fairly useless for checking how the code complies with the comments. I think that this explanation should go in the user guide (and leave a mostly "plain text" outline of the algorithm, referring to the guide for details). [Does the format of the user guide allow such tricky (ASCII "art") constructs?] -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira