Article View: chile.comp.misc
Article #35393Re: Distribucion exponencial en C
From: Yobui!
Date: Mon, 06 Apr 1998 00:00
Date: Mon, 06 Apr 1998 00:00
43 lines
1931 bytes
1931 bytes
Eduardo Kaftanski <ekaftan@antonia.webhost.cl> el 6 Apr 1998 00:41:04 -0400 escribio: } In article <6g9m7r$j4a$1@antonia.webhost.cl>, } Yobui! <vvrsalov@antonia.webhost.cl> wrote: } >Francisca Medina H. <fmedina@antonia.webhost.cl> el 6 Apr 1998 04:19:58 GMT escribio: } >} Necesito implementar una distribucion exponencial (y una normal) en C } >} y ni siquiera se que significa... } > } >} Alguien me ilumina plis? } > } > } >El experto de estadistica al habla... :) (la ilumino cuando quiera } >mademoiselle... :) ) } > } >Distribucion Exponencial.... } [ASCII art estadistico borrado] } Ya... y eso en C? o al menos en espa~ol? } 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... -- Vinko Vrsalovic B. ***************************************** vvrsalov@antonia.webhost.cl ** Perche' la tua lingua e mia!, MIA! ** ICQ: 9299103 ** (Mr B.) ** Geek code available by... ***************************************** nothing (yet) :-) "I focus on the pain, the only thing that's real"
Technical Details
Message-ID:
<6g9mj9$j4a$3@antonia.webhost.cl>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<6g9l5e$ikk$1@antonia.webhost.cl> <6g9m7r$j4a$1@antonia.webhost.cl> <6g9md0$jmi@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: <6g9mj9$j4a$3@antonia.webhost.cl> X-Deja-AN: 341261624 References: <6g9l5e$ikk$1@antonia.webhost.cl> <6g9m7r$j4a$1@antonia.webhost.cl> <6g9md0$jmi@antonia.webhost.cl> Organization: WebHost Chile S.A. Newsgroups: chile.comp.misc