Hi Sebastian, This is getting a bit far off-topic (which is whether it is a good idea to allow the ability to set frozen dimensions and broadcasting), but on `all_equal`, I definitely see the point that a method might be better, but that needs work: to expand the normal ufunc mechanism to allow the inner loop to carry state (for which there is an issue [1]) and for it to tell the iterator to stop feeding it buffers. It is not quite clear to me that this is better/easier than expanding gufuncs to be able to deal with buffers...
All the best, Marten [1] https://github.com/numpy/numpy/issues/8773 _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion