commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: [math] Equivalent of Blas DAXPY
Date Fri, 08 Jul 2011 05:16:00 GMT
AbstractMatrix

On Thu, Jul 7, 2011 at 8:06 PM, Sebastien Brisard <sebastien.brisard@m4x.org
> 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 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 promotes compositional style.  A small amount
> of
> > special case code for common operations and the JVM's very impressive
> > ability to in-line code result in pretty fast operations.
>
> > The problem with this kind of approach is that users have a very hard
> time
> > understanding how to write code (where is the plus method, they say.
>  where
> > is the element-wise max of two vectors?)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message