Re: [math] Equivalent of Blas DAXPY

2011-07-11 Thread Gilles Sadowski
On Mon, Jul 11, 2011 at 01:28:30PM +0200, Sebastien Brisard wrote: > Hello there, > this discussion is now a JIRA ticket (MATH-613). > Have a look and let me know what you think. I'm happy to take care of this if > you all agree on the proposal. +1 Gilles

Re: [math] Equivalent of Blas DAXPY

2011-07-11 Thread Sebastien Brisard
Hello there, this discussion is now a JIRA ticket (MATH-613). Have a look and let me know what you think. I'm happy to take care of this if you all agree on the proposal. Sebastien - To unsubscribe, e-mail: dev-unsubscr...@commons

Re: [math] Equivalent of Blas DAXPY

2011-07-08 Thread Gilles Sadowski
On Fri, Jul 08, 2011 at 05:06:38AM +0200, Sebastien Brisard wrote: > Ted, > Mahout seems to be fairly large (!). What classes should I look at more > specifically? If not done already, you could also have a look at class o.a.c.m.analysis.FunctionUtils (in CM). Gilles -

Re: [math] Equivalent of Blas DAXPY

2011-07-07 Thread Ted Dunning
AbstractMatrix On Thu, Jul 7, 2011 at 8:06 PM, Sebastien Brisard wrote: > Ted, > Mahout seems to be fairly large (!). What classes should I look at more > specifically? > Thanks! > Sebastien > > >The Colt package used a functional style to implement what you suggest. > > This approach has been i

Re: [math] Equivalent of Blas DAXPY

2011-07-07 Thread Sebastien Brisard
Ted, Mahout seems to be fairly large (!). What classes should I look at more specifically? Thanks! Sebastien >The Colt package used a functional style to implement what you suggest. > This approach has been inherited by Mahout. > The basic idea is that there is an assign method that takes other a

Re: [math] Equivalent of Blas DAXPY

2011-07-07 Thread Ted Dunning
It sounds similar to the trove approach, but I couldn't say with certainty. On Thu, Jul 7, 2011 at 11:10 AM, Sebastien Brisard < sebastien.bris...@polytechnique.org> wrote: > That sounds interesting. I was thinking of something like mapping a > bivariate > function to two vectors, but was afraid

Re: [math] Equivalent of Blas DAXPY

2011-07-07 Thread Sebastien Brisard
That sounds interesting. I was thinking of something like mapping a bivariate function to two vectors, but was afraid of performance issues. Your feedback on this is encouraging! As for the approach used in Mahout, is it similar to the "Procedure"s in GNU Trove? It takes a little bit of time to gra

Re: [math] Equivalent of Blas DAXPY

2011-07-07 Thread Ted Dunning
The Colt package used a functional style to implement what you suggest. This approach has been inherited by Mahout. The basic idea is that there is an assign method that takes other arguments and a function for combining the arguments. The function allows great amounts of flexibility and promote

Re: [math] Equivalent of Blas DAXPY

2011-07-07 Thread Gilles Sadowski
Hello. > in Blas, the method DAXPY can lead to very compact code. As far as I know, it > has no equivalent in RealVector. There are a few method called ToSelf, > which modify the calling vector, instead of returning a new one, but these are > restricted to scalars operating on vectors. > In ot

Re: [math] Equivalent of Blas DAXPY

2011-07-07 Thread Luc Maisonobe
Le 07/07/2011 10:31, Sebastien Brisard a écrit : Hi, Hi Sébastien, in Blas, the method DAXPY can lead to very compact code. As far as I know, it has no equivalent in RealVector. There are a few method called ToSelf, which modify the calling vector, instead of returning a new one, but thes

[math] Equivalent of Blas DAXPY

2011-07-07 Thread Sebastien Brisard
Hi, in Blas, the method DAXPY can lead to very compact code. As far as I know, it has no equivalent in RealVector. There are a few method called ToSelf, which modify the calling vector, instead of returning a new one, but these are restricted to scalars operating on vectors. In other words, the