-Re: removal of addTo() in vectors
Jake Mannix 2011-09-06, 17:01
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
Vector.assign(DoubleDoubleFunction, Vector). For this, you need to verify
f(0, a) == a for all a. I guess you could try a few, but you could fail,
The only way to know for sure is to have a marker interface for
which designated that it is LeftZeroPreserving or something.