ter ideas, I think that is the
best way to handle this.
Phil
>
> -Original Message-
> From: Phil Steitz [mailto:phil.ste...@gmail.com]
> Sent: Thursday, November 15, 2012 1:42 PM
> To: Commons Developers List
> Subject: Re: [Math] MATH-894
>
> On 11/15/12 10:29 AM,
Yes. Sounds similar.
On Thu, Nov 15, 2012 at 11:02 AM, Phil Steitz wrote:
> > The assign methods are inherited. The signatures are like
> > assign(DoubleFunction), assign(DoubleDoubleFunction, Matrix other) and so
> > on.
>
> OK, assign looks like what I was calling "evaluate" and
> DoubleFunc
On 11/15/12 10:56 AM, Ted Dunning wrote:
> On Thu, Nov 15, 2012 at 10:42 AM, Phil Steitz wrote:
>
>> On 11/15/12 10:29 AM, Ted Dunning wrote:
>>> On Thu, Nov 15, 2012 at 10:04 AM, Phil Steitz
>> wrote:
Do you know how to do that with a primitive array? Can you provide
some sample code?
On Thu, Nov 15, 2012 at 10:42 AM, Phil Steitz wrote:
> On 11/15/12 10:29 AM, Ted Dunning wrote:
> > On Thu, Nov 15, 2012 at 10:04 AM, Phil Steitz
> wrote:
> >
> >> Do you know how to do that with a primitive array? Can you provide
> >> some sample code?
> >>
> > You don't. See my next paragrap
.
-Original Message-
From: Phil Steitz [mailto:phil.ste...@gmail.com]
Sent: Thursday, November 15, 2012 1:42 PM
To: Commons Developers List
Subject: Re: [Math] MATH-894
On 11/15/12 10:29 AM, Ted Dunning wrote:
> On Thu, Nov 15, 2012 at 10:04 AM, Phil Steitz wrote:
>
>> Do you know ho
On 11/15/12 10:29 AM, Ted Dunning wrote:
> On Thu, Nov 15, 2012 at 10:04 AM, Phil Steitz wrote:
>
>> Do you know how to do that with a primitive array? Can you provide
>> some sample code?
>>
> You don't. See my next paragraph.
>
> See the assign method in this class:
>
> https://github.com/apac
On Thu, Nov 15, 2012 at 10:04 AM, Phil Steitz wrote:
> Do you know how to do that with a primitive array? Can you provide
> some sample code?
>
You don't. See my next paragraph.
See the assign method in this class:
https://github.com/apache/mahout/blob/trunk/math/src/main/java/org/apache/mah
On 11/15/12 9:22 AM, Ted Dunning wrote:
> On Thu, Nov 15, 2012 at 8:42 AM, Phil Steitz wrote:
>
>> On 11/15/12 8:01 AM, Ted Dunning wrote:
>>> The typical answer to this when adding a functional method like compute
>> is to also add a view object. The rationale is that a small number of view
>> me
On Thu, Nov 15, 2012 at 8:42 AM, Phil Steitz wrote:
> On 11/15/12 8:01 AM, Ted Dunning wrote:
> >
> > The typical answer to this when adding a functional method like compute
> is to also add a view object. The rationale is that a small number of view
> methods can be composed with a small number
On 11/15/12 8:01 AM, Ted Dunning wrote:
>
> The typical answer to this when adding a functional method like compute is to
> also add a view object. The rationale is that a small number of view methods
> can be composed with a small number of compute/aggregate methods to get the
> expressive powe
The typical answer to this when adding a functional method like compute is to
also add a view object. The rationale is that a small number of view methods
can be composed with a small number of compute/aggregate methods to get the
expressive power of what would otherwise require a vast array o
On 11/15/12 5:40 AM, Gilles Sadowski wrote:
> Hi.
>
>> These changes look fine to me and the addition of the compute method is
>> really nice.
> Oh, I should have asked whether you can also look at the source code in the
> trunk: Currently the "compute(UnivariateStatistic)" method is only
> impleme
Hi.
>
> These changes look fine to me and the addition of the compute method is
> really nice.
Oh, I should have asked whether you can also look at the source code in the
trunk: Currently the "compute(UnivariateStatistic)" method is only
implemented internally (in a private inner class of "Descr
aving.
Patrick
-Original Message-
From: Gilles Sadowski [mailto:gil...@harfang.homelinux.org]
Sent: Thursday, November 15, 2012 6:32 AM
To: dev@commons.apache.org
Subject: Re: [Math] MATH-894
Hi Patrick.
On Mon, Nov 12, 2012 at 02:38:07PM -0500, Patrick Meyer wrote:
> Please keep ResizeableDoub
Hi Patrick.
On Mon, Nov 12, 2012 at 02:38:07PM -0500, Patrick Meyer wrote:
> Please keep ResizeableDoubleArray as its own class. I find it very useful
> for more than descriptive statistics. I do like the idea of adding an apply
> method to it.
Could you please have a look at the JIRA page:
htt
he broken encapsulation, so maybe
its best to add the apply or "applyStatistic" method as described below.
Phil
>
> Patrick
>
> -Original Message-
> From: Phil Steitz [mailto:phil.ste...@gmail.com]
> Sent: Monday, November 12, 2012 1:23 PM
> To: Commons Developers List
: Commons Developers List
Subject: Re: [Math] MATH-894
On 11/12/12 6:05 AM, Gilles Sadowski wrote:
> Hi.
>
> What do you think about deprecating "getInternalValues"?
> Its only use is in "DescriptiveStatistics". I guess that the current
> usage could save some time (b
On 11/12/12 6:05 AM, Gilles Sadowski wrote:
> Hi.
>
> What do you think about deprecating "getInternalValues"?
> Its only use is in "DescriptiveStatistics". I guess that the current usage
> could save some time (by avoiding the creation of an array and copying the
> elements), so that acces to the
Hi.
What do you think about deprecating "getInternalValues"?
Its only use is in "DescriptiveStatistics". I guess that the current usage
could save some time (by avoiding the creation of an array and copying the
elements), so that acces to the internal representation should be retained.
If so, I th
19 matches
Mail list logo