🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.misc
Article #35394

Re: Distribucion exponencial en C

#35394
From: Yobui!
Date: Mon, 06 Apr 1998 00:00
39 lines
1881 bytes
Francisca Medina H. <fmedina@antonia.webhost.cl> el 6 Apr 1998 04:52:41 GMT escribio:
} : } Como hace mademoiselle para implementar una funcion en C que
} : } retorne un numero aleatorio en alguna de dichas distribuciones?

} : depende de los parametros....

} : } Ah?????

} : ahi esta la aleatoreidad.... 
} : segun el lambda o el mu (esto era la esperanza) o el sigmacuadrado (varianza)

} : tons deberia ser algo como
} : lambda=rand();
} : mu=rand();
} : sigma^2=rand();
} : y ahi seria un numero aleatorio demtro de esas distribuciones...

} Entonces me falta la varianza, osea, en mi lindo informe, pongo
} bug conocido, no tiene varianza, tonces no puedo implementar la
} distribucion normal i me relajo.. :)

como????

} (mentira, me las voi a tener que arreglar mannana con la profe...)

} Gracias por iluminarme tan velozmente.. ;)

de nada... cuando se le ofrezca... :)

-- 
Vinko Vrsalovic B.           *****************************************
vvrsalov@antonia.webhost.cl  **  Perche' la tua lingua e mia!, MIA! **
ICQ: 9299103                 **              (Mr B.)                **
Geek code available by...    *****************************************
nothing (yet) :-)  
 
 "Nothing can stop me now, 'cos I don't care anymore, nothing can stop me 
  mow, 'cos I just don't care"
Technical Details
Message-ID: <6g9ndk$khu$1@antonia.webhost.cl>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6g9l5e$ikk$1@antonia.webhost.cl> <6g9m7r$j4a$1@antonia.webhost.cl> <6g9md0$jmi@antonia.webhost.cl> <6g9mj9$j4a$3@antonia.webhost.cl> <6g9n2p$k27$1@antonia.webhost.cl>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII-7-bit
X-Google-Thread: 107d6b,dab859bce1b8fd5d
X-Google-Attributes: gid107d6b,public
From: Yobui! <vvrsalov@antonia.webhost.cl>
Subject: Re: Distribucion exponencial en C
Date: 1998/04/06
Message-ID: <6g9ndk$khu$1@antonia.webhost.cl>
X-Deja-AN: 341261625
References: <6g9l5e$ikk$1@antonia.webhost.cl> <6g9m7r$j4a$1@antonia.webhost.cl> <6g9md0$jmi@antonia.webhost.cl> <6g9mj9$j4a$3@antonia.webhost.cl> <6g9n2p$k27$1@antonia.webhost.cl>
Organization: WebHost Chile S.A.
Newsgroups: chile.comp.misc