[
https://issues.apache.org/jira/browse/NUMBERS-29?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17626685#comment-17626685
]
Alex Herbert commented on NUMBERS-29:
-------------------------------------
{quote}Are you sure about the API (a new StirlingS2 class)?
{quote}
I have no string opinion on the name. Any suggestions are welcome.
My suggestion was based on the other classes in the combinatorics package that
have a class for each computation. However the FactorialDouble is now
deprecated and methods have been moved to Factorial. So multiple methods can be
in the same class which would fit with the Stirling numbers.
To allow for future methods then perhaps one of:
{code:java}
long StirlingNumbers.stirlingS2(int n, int k)
long StirlingNumbers.s2(int n, int k)
long Stirling.stirlingS2(int n, int k)
long Stirling.s2(int n, int k){code}
The StirlingNumbers.stirlingS2 may be the best fit with the current verbose
naming in the Numbers hierarchy.
> Move combinatorics utilities from "Commons Math"
> ------------------------------------------------
>
> Key: NUMBERS-29
> URL: https://issues.apache.org/jira/browse/NUMBERS-29
> Project: Commons Numbers
> Issue Type: Task
> Components: combinatorics
> Reporter: Gilles Sadowski
> Priority: Minor
> Labels: module, move
> Fix For: 1.2
>
>
> Create a new {{commons-numbers-combinatorics}} module to contain the code in
> classes {{CombinatoricsUtils}} and {{Combinations}} (located in package
> {{o.a.c.math4.util}}).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)