commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From S├ębastien Brisard (Updated) (JIRA) <>
Subject [jira] [Updated] (MATH-682) Pascal triangle
Date Mon, 03 Oct 2011 11:50:34 GMT


S├ębastien Brisard updated MATH-682:


Please find attached what I have for the moment. It needs some polishing to meet the CM standards,
I believe. Also, it is based on JScience, which has both concepts of Field (like CM, but less
convenient, I think) and Variable (which allowed me to have a method to expand binomials.
As this feature is absent from CM, this would probably go).
Previously computed lines are indeed cached.
Please let me know if you think it's a good start.
As for me, I need this class to work with FieldElement, but if this is far-fetched for CM,
then I'm happy keeping this feature for the specific use I have.
> Pascal triangle 
> ----------------
>                 Key: MATH-682
>                 URL:
>             Project: Commons Math
>          Issue Type: New Feature
>    Affects Versions: 3.0
>         Environment: All
>            Reporter: DI COSTANZO
>            Priority: Trivial
>         Attachments:
> 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:!default.jspa
For more information on JIRA, see:


View raw message