On Sun, 14 Dec 2014 19:15:08 -0700, Phil Steitz wrote:
On 12/14/14 5:10 PM, Gilles wrote:
Hi.

Any objection to my adding this:
 https://issues.apache.org/jira/browse/MATH-1180
?

If you have use for something like that in [math], I am fine with
it, but it should be called something else.

It's just happened that I could use this generalization
of something already in Commons Math.

 The name "natural" for
the existing method is "natural" (pun intended) since it returns an
array representing the argument - e.g., natural(5) is {0, .., 4}
which *is* 5 in set-theoretic terms.


How about "sequence"?

Perhaps we could even already further generalize to
  sequence(int size, int start, int stride)

OK?


Gilles

P.S. The "natural" method would still be defined as "sequence(n, 0, 1)".


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to