Re: numpad in idle

2010-10-23 Thread Aram Ter-Sarkissov
On 24 окт, 16:44, rantingrick wrote: > On Oct 23, 7:41 pm, Jah_Alarm wrote: > > > here's my problem: I'm running IDLE in Ubuntu. For some reason numpad > > buttons do not work. I'm kinda used to this layout. Doesn anyone have > > an idea on how to switch it on? > > Sure, look directly above the n

array manipulation-

2010-08-16 Thread Aram Ter-Sarkissov
hi, this is probably a very silly question, but I can't get my hear around it unfortunately( I have an array (say, mat=rand(3,5)) from which I 'pull out' a row (say, s1=mat[1,]). The problem is, the shape of this row s1 is not [1,5], as I would expect, but rather [5,], which means that I can't, fo

Re: nonuniform sampling with replacement

2010-03-22 Thread Aram Ter-Sarkissov
On 22 мар, 01:27, Peter Otten <__pete...@web.de> wrote: > Jah_Alarm wrote: > > I've got a vector length n of integers (some of them are repeating), > > and I got a selection probability vector of the same length. How will > > I sample with replacement k (<=n) values with the probabilty vector. > >

Re: nonuniform sampling with replacement

2010-03-22 Thread Aram Ter-Sarkissov
On 22 мар, 01:28, "Alf P. Steinbach" wrote: > * Alf P. Steinbach: > > > > > * Jah_Alarm: > >> I've got a vector length n of integers (some of them are repeating), > >> and I got a selection probability vector of the same length. How will > >> I sample with replacement k (<=n) values with the proba