Hello Mark,
Exactly, thanks very much!
Dimos
--- On Sat, 11/20/10, Mark Dickinson wrote:
> From: Mark Dickinson
> Subject: Re: Weibull distr. random number generation
> To: python-list@python.org
> Date: Saturday, November 20, 2010, 7:09 PM
> On Nov 19, 3:21 pm, Dimos
>
On Nov 19, 3:21 pm, Dimos wrote:
> I would like to use the random module, and if I understand well the Random
> class, to create 1300 decimal numbers in python, by providing the 2 Weibull
> parameters (b,c). How this can be done???
>
> import random
> print random
> random.weibullvariate(b,c)
>
Dear Python list subscribers,
Sorry of this has been covered already...This is a newbie question about actual
scripting/syntax.
I would like to use the random module, and if I understand well the Random
class, to create 1300 decimal numbers in python, by providing the 2 Weibull
parameters (b,
On Aug 16, 5:37 pm, Jah_Alarm wrote:
> hi,
>
> I need to generate a binary array with a specified average proportion
> of 1s (e.g. [1 0 0 0
>
> 0 1 0 0] has this proportion = 25%). In Matlab I run something like
> random(m,n)
> between 0 and 1. I'm trying to use random.randint(0,2,size=[m,n]), but
On Aug 16, 2010, at 20:37 , Jah_Alarm wrote:
hi,
I need to generate a binary array with a specified average proportion
of 1s (e.g. [1 0 0 0
0 1 0 0] has this proportion = 25%). In Matlab I run something like
random(m,n)
if you're coming from matlab, then you should use the numpy package
(an
hi,
I need to generate a binary array with a specified average proportion
of 1s (e.g. [1 0 0 0
0 1 0 0] has this proportion = 25%). In Matlab I run something like
random(m,n)http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] (Bengt Richter) writes:
> Theoretically, the chances of getting an integer from a uniformly
> random sample from an interval of real numbers is practically zero,
> and even allowing for IEEE 754 double representation,
Well, if we're going to be picky, the chances of getting a num
On Sun, 11 Dec 2005 09:46:33 -0800 (PST), Dimos <[EMAIL PROTECTED]> wrote:
>Hello All,
>
>I need some help with random number generation. What I
>need exactly is:
>
>To create a few thousand numbers, decimal and
>integers, between 5 and 90,
>and then to expor
Dimos wrote:
> Hello All,
>
> I need some help with random number generation. What I
> need exactly is:
>
> To create a few thousand numbers, decimal and
> integers, between 5 and 90,
> and then to export them as a single column at a
> spreadsheet.
>
> I am
Dimos wrote:
> I need some help with random number generation. What I
> need exactly is:
>
> To create a few thousand numbers, decimal and
> integers, between 5 and 90,
> and then to export them as a single column at a
> spreadsheet.
>
> I am newbie, I was not able to
Dimos <[EMAIL PROTECTED]> wrote:
> Hello All,
>
> I need some help with random number generation. What I
> need exactly is:
>
> To create a few thousand numbers, decimal and
> integers, between 5 and 90,
> and then to export them as a single column at a
> spr
Hello All,
I need some help with random number generation. What I
need exactly is:
To create a few thousand numbers, decimal and
integers, between 5 and 90,
and then to export them as a single column at a
spreadsheet.
I am newbie, I was not able to create decimals with
the random modules of
On Mon, 29 Nov 2004 20:51:50 GMT, "drs"
<[EMAIL PROTECTED]> wrote:
>Is there any way to generate random numbers based on arbitrary real valued
>functions? I am looking for something like random.gauss() but with natural
>log and exponential functions.
Try with CRNG, it may have what you need, or b
drs wrote:
Is there any way to generate random numbers based on arbitrary real valued
functions? I am looking for something like random.gauss() but with natural
log and exponential functions.
scipy[1] has a large collection of "standard" univariate pdfs, including
normal, exponential, gamma, and t
drs wrote:
Is there any way to generate random numbers based on arbitrary real valued
functions? I am looking for something like random.gauss() but with natural
log and exponential functions.
thanks,
-d
I remember for having used it on a gaussian generator that you can do that very
easily by your
drs wrote:
Is there any way to generate random numbers based on arbitrary real valued
functions? I am looking for something like random.gauss() but with natural
log and exponential functions.
thanks,
-d
numarray has a random package which provides a number of functions,
including: normal( mean,
On Mon, 29 Nov 2004 20:51:50 GMT, "drs" <[EMAIL PROTECTED]> wrote:
>Is there any way to generate random numbers based on arbitrary real valued
>functions? I am looking for something like random.gauss() but with natural
>log and exponential functions.
>
>thanks,
Don't know what you mean. This kind
Is there any way to generate random numbers based on arbitrary real valued
functions? I am looking for something like random.gauss() but with natural
log and exponential functions.
thanks,
-d
--
http://mail.python.org/mailman/listinfo/python-list
18 matches
Mail list logo