I think we have some confusion between mahout-math and mahout-collections. Both contain org.apache.mahout.math code, and in some cases duplicate copies.
I think the best fix is actually to move things like DoubleDoubleFunction out of mahout-math; they exist in mahout-collections which, despite the module names, seems to be the home for interfaces like this. We also have identical interfaces like DoubleProcedure and DoubleDoubleProcedure, from Colt. I suggest we not keep both copies. We could for instance delete DoubleFunction and replace with DoubleProcedure. It's exactly the same thing interface-wise. Same more several other *Function classes. Anyone object or have better designs? On Fri, Feb 25, 2011 at 12:25 PM, Andre Schumacher <[email protected] > wrote: > > Hi, > > Thanks for the quick reply. I added mahout-collections to the classpath > and now it seems to work. > > On Fri, Feb 25, 2011 at 12:49 PM, Sean Owen <[email protected]> wrote: > >> Oops. I correct myself. It still exists in mahout-collections somehow, >> but was removed from mahout-math as it was unused. You should not need >> it, as a result. I would make sure you are building from head in >> Subversion to ensure you have a consistent set of code. >> > > I was building from head (revision 1074453). There it seems that > DoubleFunction was imported by org.apache.mahout.math.Vector. > > Best regards, > > Andre >
