Re: [Numpy-discussion] offset in fill diagonal

2017-01-21 Thread Ian Henriksen
On Sat, Jan 21, 2017 at 9:23 AM Julian Taylor wrote: > On 21.01.2017 16:10, josef.p...@gmail.com wrote: > > Is there a simple way to fill in diagonal elements in an array for other > > than main diagonal? > > > > As far as I can see, the diagxxx functions that have offset can only > > read and no

Re: [Numpy-discussion] offset in fill diagonal

2017-01-21 Thread Julian Taylor
On 21.01.2017 16:10, josef.p...@gmail.com wrote: > Is there a simple way to fill in diagonal elements in an array for other > than main diagonal? > > As far as I can see, the diagxxx functions that have offset can only > read and not inplace modify, and the functions for modifying don't have > off