Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

How to use PDF for function definition?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg121888] How to use PDF for function definition?
  • From: icegood <icegood1980 at gmail.com>
  • Date: Thu, 6 Oct 2011 04:19:53 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

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?



  • Prev by Date: importing data into a CDF
  • Next by Date: Re: can't find info about & /@ %
  • Previous by thread: Re: importing data into a CDF
  • Next by thread: Re: How to use PDF for function definition?