Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5870C93F2 for ; Mon, 3 Oct 2011 15:26:58 +0000 (UTC) Received: (qmail 40157 invoked by uid 500); 3 Oct 2011 15:26:57 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 40095 invoked by uid 500); 3 Oct 2011 15:26:57 -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 40085 invoked by uid 99); 3 Oct 2011 15:26:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2011 15:26:57 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,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; Mon, 03 Oct 2011 15:26:55 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 002742A69A4 for ; Mon, 3 Oct 2011 15:26:33 +0000 (UTC) Date: Mon, 3 Oct 2011 15:26:33 +0000 (UTC) From: "DI COSTANZO (Commented) (JIRA)" To: issues@commons.apache.org Message-ID: <928388615.3328.1317655594017.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <685572093.2690.1317636634026.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (MATH-682) Pascal triangle 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-682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119358#comment-13119358 ] DI COSTANZO commented on MATH-682: ---------------------------------- Effectively, this is a way to get Pascal triangle elements. I didn't know this method was existing and it fulfil my need. Actually, I was thinking to create method to retrieve every element at once for given order, but I can build it by myself from those binomial coefficient method. Thanks, Regards, Romain > Pascal triangle > ---------------- > > Key: MATH-682 > URL: https://issues.apache.org/jira/browse/MATH-682 > Project: Commons Math > Issue Type: New Feature > Affects Versions: 3.0 > Environment: All > Reporter: DI COSTANZO > Priority: Trivial > Attachments: PascalTriangle.java, PascalTriangle.java, PascalTriangle.java, PascalTriangleTest.java, PascalTriangleTest.java > > > Create a method to get Pascal's triangle coefficient. This method could be implemented in MathUtils, in a static way, with the following signature : > double[] getTriangleCoefficient(final int order) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira