Post Reply 
recall a function
02-19-2015, 03:07 PM
Post: #1
recall a function
hi,
please, I need hints to recall a function in the same program passing parameters.

The second function of this code won't work:
Code:

EXPORT gammad(k,t,n)
BEGIN
local f;
f:= (n^(k-1)*e^(-n/t))/(t^k*Gamma(k));
return f;
END;

EXPORT gamma_cdf(k,t,n)
BEGIN
local f,u;
f:= int(gammad(k,t,u), u, 0, n);
return f;
END ;

How to pass "u" as variable for the integral?

Also ProgName.gammad() doesn't works...

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
recall a function - salvomic - 02-19-2015 03:07 PM
RE: recall a function - bobkrohn - 02-19-2015, 03:32 PM
RE: recall a function - salvomic - 02-19-2015, 03:39 PM
RE: recall a function - Han - 02-19-2015, 05:02 PM
RE: recall a function - salvomic - 02-19-2015, 05:12 PM



User(s) browsing this thread: 1 Guest(s)