On Fri, Jan 30, 2009 at 21:54, Scott Sinclair email@example.com:
2009/1/30 David Cournapeau firstname.lastname@example.org: Neal Becker wrote:
A nit, but it would be nice if 'ones' could fill with a value other than
Maybe an optional val= keyword?
What would be the advantage compared to fill ? I would guess ones and zeros are special because those two values are special (they can be defined for many types, as neutral elements for + and *),
I couldn't find the numpy fill function, until my tiny brain realized you meant the ndarray method:
Is fill function has any advantage over ones(size)*x ?