On Tue, Sep 6, 2011 at 9:35 AM, Ted Dunning <[email protected]> wrote:
> Because it is redundant. Jake's testing suggestion is still good. No, doesn't work. It works on Vector.assign(DoubleFunction), but totally fails on Vector.assign(DoubleDoubleFunction, Vector). For this, you need to verify that f(0, a) == a for all a. I guess you could try a few, but you could fail, right? The only way to know for sure is to have a marker interface for DoubleDoubleFunction which designated that it is LeftZeroPreserving or something. -jake
