Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #5482
| From | Heike Gramberg <heike.gramberg@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: How to use PDF for function definition? |
| Date | 2011-10-07 08:55 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j6meqe$7eu$1@smc.vnet.net> (permalink) |
| References | <201110060819.EAA22497@smc.vnet.net> |
You define PDFla with a lower case l in the name, but call PDFLa with upper case L (which is undefined since Mathematica is case sensitive). Try PDFla[3] instead. Heike. On 6 Oct 2011, at 10:19, icegood wrote: > Code: > kla = 1.3; nla = 1; > Clear[z, PDFla]; > PDFla[z_] := PDF[GammaDistribution[kla, nla/kla], z] ; > PDFLa[3] > > Output: > PDFLa[3] > > 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? >
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: How to use PDF for function definition? Heike Gramberg <heike.gramberg@gmail.com> - 2011-10-07 08:55 +0000
csiph-web