Re: replacing numbers in LARGE MATRIX with criterium in 2 columns (a--> b)

2009-05-04 Thread Aahz
In article <68d22002-fc0a-4590-9395-c78b6ee41...@r34g2000vba.googlegroups.com>, Alexzive wrote: > >I have this matrix [20*4 - but it could be n*4 , with n~100,000] in >file "EL_list" like this: Take a look at NumPy -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/

Re: replacing numbers in LARGE MATRIX with criterium in 2 columns (a--> b)

2009-05-04 Thread MRAB
Alexzive wrote: Hello, I have this matrix [20*4 - but it could be n*4 , with n~100,000] in file "EL_list" like this: 1, 1, 2, 3 2, 4, 1, 5 3, 5, 1, 6 4, 7, 5, 6 5, 8, 7, 9 6, 8, 5,

Re: Re: replacing numbers in LARGE MATRIX with criterium in 2 columns (a--> b)

2009-05-04 Thread Dave Angel
Alessandro wrote: On May 4, 2:38 pm, Alexzive wrote: Hello, I have this matrix [20*4 - but it could be n*4 , with n~100,000] in file "EL_list" like this: 1, 1, 2, 3 2, 4, 1, 5 3, 5, 1, 6 4, 7, 5, 6 5,

Re: replacing numbers in LARGE MATRIX with criterium in 2 columns (a--> b)

2009-05-04 Thread Alessandro
On May 4, 2:38 pm, Alexzive wrote: > Hello, > I have this matrix [20*4 - but it could be n*4 , with n~100,000] in > file "EL_list" like this: > > 1, 1, 2, 3 > 2, 4, 1, 5 > 3, 5, 1, 6 > 4, 7, 5, 6 > 5, 8,