Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #5416

How to use PDF for function definition?

From icegood <icegood1980@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject How to use PDF for function definition?
Date 2011-10-06 08:24 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j6jok6$m5c$1@smc.vnet.net> (permalink)

Show all headers | View raw


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 — Next in thread | Find similar | Unroll thread


Thread

How to use PDF for function definition? icegood <icegood1980@gmail.com> - 2011-10-06 08:24 +0000
  Re: How to use PDF for function definition? Peter Pein <petsie@dordos.net> - 2011-10-07 08:46 +0000
  Re: How to use PDF for function definition? Todd <johnson.todd.r@gmail.com> - 2011-10-07 08:47 +0000
  Re: How to use PDF for function definition? Peter Breitfeld <phbrf@t-online.de> - 2011-10-07 09:07 +0000

csiph-web