You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sébastien Brisard (Commented JIRA)" <ji...@apache.org> on 2011/10/03 12:53:34 UTC

[jira] [Commented] (MATH-682) Pascal triangle

    [ https://issues.apache.org/jira/browse/MATH-682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119235#comment-13119235 ] 

Sébastien Brisard commented on MATH-682:
----------------------------------------

I have an implementation based on JScience which I need to port to Commons-Math for personal use. I use it for symbolic calcs on polynomials. I need it to return FieldElement<T>, but it could be easily adapted to double[] as requested.
So, if this indeed is found useful for 3.0 by others, and no one else has any ready piece of code for it, I'm happy to work on that.
                
> 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
>
> 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