You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Gilles <gi...@harfang.homelinux.org> on 2014/12/15 01:10:24 UTC
[Math] MATH-1180
Hi.
Any objection to my adding this:
https://issues.apache.org/jira/browse/MATH-1180
?
Gilles
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [Math] MATH-1180
Posted by Luc Maisonobe <lu...@spaceroots.org>.
Le 15/12/2014 03:15, Phil Steitz a écrit :
> On 12/14/14 5:10 PM, Gilles wrote:
>> Hi.
>>
>> Any objection to my adding this:
>> https://issues.apache.org/jira/browse/MATH-1180
>> ?
I'm fine with any such methods.
best regards,
Luc
>
> If you have use for something like that in [math], I am fine with
> it, but it should be called something else. 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.
>
> Phil
>>
>> Gilles
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [Math] MATH-1180
Posted by Gilles <gi...@harfang.homelinux.org>.
On Mon, 15 Dec 2014 11:43:22 +0100, Gilles wrote:
> 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?
I've committed it already, to be shipped with 3.4. :-)
Gilles
>
> P.S. The "natural" method would still be defined as "sequence(n, 0,
> 1)".
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [Math] MATH-1180
Posted by Gilles <gi...@harfang.homelinux.org>.
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-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [Math] MATH-1180
Posted by Phil Steitz <ph...@gmail.com>.
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. 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.
Phil
>
> Gilles
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org