[Date Index] [Thread Index] [Author Index]
Re: How to use PDF for function definition?
Hi It took a moment to see your error. In Mathematica, variable names are case sensitive. PDFLa is *not* the same as PDFla. You would have seen that in the input PDFLa, the "PDFLa" part was blue, not black. Select the coloured characters, go to Help, and release on "Why the Coloring?...", and it will tell you. Misspelled variable names can be routinely detected that way. Useful if you type as well (not!) as I do. Cheers Barrie >>> On 06/10/2011 at 7:19 pm, in message <201110060819.EAA22497 at smc.vnet.net>, icegood <icegood1980 at gmail.com> wrote: > Code: > kla = 1.3; nla = 1; > Clear[z, PDFla]; > PDFla[z_] := PDF[GammaDistribution[kla, nla/kla], z] ; > PDFLa > > Output: > PDFLa > > How to use it? By documentation i can also try simply PDFla := > PDF[GammaDistribution[kla, nla/kla]] that defines 'pure function', but > result is the same. How to use it in right way. > > P.S. Where can i find a proper database for 'mathematica' bugs?