On Fri, Nov 4, 2011 at 7:43 PM, T J <tjhn...@gmail.com> wrote: > On Fri, Nov 4, 2011 at 6:31 PM, Pauli Virtanen <p...@iki.fi> wrote: >> An acid test for proposed rules: given two arrays `a` and `b`, >> >> a = [1, 2, IGNORED(3), IGNORED(4)] >> b = [10, IGNORED(20), 30, IGNORED(40)] [...] > (A1) Does unmask(a+b) == unmask(b + a) ? > > Yes. They both equal: > > unmask([11, IGNORED(22), IGNORED(33), IGNORED(44)]) > = > [11, 22, 33, 44]
Again, I really don't think you're going to be able to sell an API where [2] + [IGNORED(20)] == [IGNORED(22)] I mean, it's not me you have to convince, it's Gary, Pierre, maybe Benjamin, Lluís, etc. So I could be wrong. But you might want to figure that out first before making plans based on this... -- Nathaniel _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion