Re: [Numpy-discussion] Numpy and iterative procedures

2007-02-16 Thread Geoffrey Zhu
riginal Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nadav Horesh Sent: Friday, February 16, 2007 8:52 AM To: Discussion of Numerical Python Subject: RE: [Numpy-discussion] Numpy and iterative procedures At first glance it doesn't look hard to, at least, avoid looping

Re: [Numpy-discussion] Numpy and iterative procedures

2007-02-16 Thread Geoffrey Zhu
Of Nils Wagner Sent: Friday, February 16, 2007 9:19 AM To: Discussion of Numerical Python Subject: Re: [Numpy-discussion] Numpy and iterative procedures Nadav Horesh wrote: > At first glance it doesn't look hard to, at least, avoid looping over i, by replacing [i] by [:-2], [i+1] by [1:-1

Re: [Numpy-discussion] Numpy and iterative procedures

2007-02-16 Thread Nils Wagner
[mailto:[EMAIL PROTECTED] On Behalf Of Charles R > Harris > Sent: Thursday, February 15, 2007 10:11 AM > To: Discussion of Numerical Python > Subject: Re: [Numpy-discussion] Numpy and iterative procedures > > > > > > On 2/15/07, Geoffrey Zhu <[EMAIL PROTECTED]> wr

Re: [Numpy-discussion] Numpy and iterative procedures

2007-02-16 Thread Nadav Horesh
D] on behalf of Geoffrey Zhu Sent: Thu 15-Feb-07 18:32 To: Discussion of Numerical Python Cc: Subject:Re: [Numpy-discussion] Numpy and iterative procedures Thanks Chuck. I am trying to use Successive Over-relaxation to solve linear equations defined by M*v=q. There are se

Re: [Numpy-discussion] Numpy and iterative procedures

2007-02-15 Thread Nils Wagner
-- > *From:* [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] *On Behalf Of *Charles R > Harris > *Sent:* Thursday, February 15, 2007 10:11 AM > *To:* Discussion of Numerical Python > *Subject:* Re: [Numpy-discussion] Numpy and iterative proc

Re: [Numpy-discussion] Numpy and iterative procedures

2007-02-15 Thread Geoffrey Zhu
Numpy-discussion] Numpy and iterative procedures On 2/15/07, Geoffrey Zhu <[EMAIL PROTECTED]> wrote: Hi, I am new to numpy. I'd like to know if it is possible to code efficient iterative procedures with numpy. Specifically, I have the following problem.

Re: [Numpy-discussion] Numpy and iterative procedures

2007-02-15 Thread Charles R Harris
On 2/15/07, Geoffrey Zhu <[EMAIL PROTECTED]> wrote: Hi, I am new to numpy. I'd like to know if it is possible to code efficient iterative procedures with numpy. Specifically, I have the following problem. M is an N*N matrix. Q is a N*1 vector. V is an N*1 vector I am trying to find iterativel

[Numpy-discussion] Numpy and iterative procedures

2007-02-15 Thread Geoffrey Zhu
Hi, I am new to numpy. I'd like to know if it is possible to code efficient iterative procedures with numpy. Specifically, I have the following problem. M is an N*N matrix. Q is a N*1 vector. V is an N*1 vector I am trying to find iteratively from the initial value V_0. The procedure is simply