[
https://issues.apache.org/jira/browse/MATH-682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
DI COSTANZO updated MATH-682:
-----------------------------
Attachment: PascalTriangleTest.java
PascalTriangle.java
Bonjour,
Voici mon implémentation pour le triangle de pascal. Elle est déclarée pour le
package Utils.
La classe contient un système de cache permettant de sauvegarder les précédents
coefficients calculés.
J'y ai joint un fichier de test permettant de valider l'implémentation.
Cette dernière vous convient elle ?
Merci d'avance,
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,
> 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