Re: [Numpy-discussion] another matrix operation

2010-03-15 Thread josef . pktd
On Mon, Mar 15, 2010 at 9:14 AM, wrote: > On Mon, Mar 15, 2010 at 9:09 AM, Gerardo Berbeglia > wrote: >> I would like to do with numpy the following operation. >> >> Let A be an n x n matrix and let s be an integer between 1 and n. >> >> I would like to have an n x n matrix B = f(A,s) such that

Re: [Numpy-discussion] another matrix operation

2010-03-15 Thread josef . pktd
On Mon, Mar 15, 2010 at 9:09 AM, Gerardo Berbeglia wrote: > I would like to do with numpy the following operation. > > Let A be an n x n matrix and let s be an integer between 1 and n. > > I would like to have an n x n matrix B = f(A,s) such that > > - If we only look at the first s columns of B,

[Numpy-discussion] another matrix operation

2010-03-15 Thread Gerardo Berbeglia
I would like to do with numpy the following operation. Let A be an n x n matrix and let s be an integer between 1 and n. I would like to have an n x n matrix B = f(A,s) such that - If we only look at the first s columns of B, we will not see any difference with respect to the first s columns of