Is the desire to just get good performant linear algebra routines (avoid reinventing wheels), or to actually be able to interoperate with Commons Math?
If the latter, then fine, we should start migrating to that, and implement Writable subclasses of their classes where we need to, and implement their interfaces (ugly as they are: no iterators [nonZero or otherwise], a gazillion mapXXXtoSelf methods which are totally useless) when also necessary. If the former, then I just spent a little while digging through Colt's sourcecode, and it's actually really easy to rip out all of the unacceptably licensed hep.aida.* references, and the rest is attribution licensed and we could just take it, and they have way better interfaces for doing linear algebra. If you guys want to see a patch of what Colt looks like after having ripped out the hep.aida.* stuff (really the only parts that are used are some utililty stats classes we could easily reimplement ourselves, but as it is the code that was removed was mostly in benchmarking code), I can post that to a JIRA. Of course, it trades a nice api for having to go back to the lovely naming convention of DoubleMatrix1D etc. :) Just my $0.02, from digging into Commons Math (and Colt, a few other of the discussed libraries). -jake On Fri, Oct 2, 2009 at 11:48 AM, Sean Owen <[email protected]> wrote: > Agree. Does this help bridge the gap to Commons Math? I remember that HDFS > binding was an issue, but if that is separated... suppose I should have a > look at its APIs. Naturally I think we would strongly prefer to reuse a > matrix library than write another unless there is a need that justifies it. > Just want to get a fix on what the gap is, whether we or Math can bridge > it. > Guess I would be surprised if it is not possible. > > On Oct 2, 2009 7:10 PM, "Ted Dunning" <[email protected]> wrote: > > I think separating the concerns is a good thing. It allows us to use > better > implementations as well as handle cases where being a writable makes no > sense. > > (just like Jake said) > > On Fri, Oct 2, 2009 at 10:50 AM, Jake Mannix <[email protected]> > wrote: > > On Thu, Oct 1, 2009 ... > -- > Ted Dunning, CTO > DeepDyve >
