Raised This Month: $ Target: $400
 0% 

[help] making a function in pawn


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 09-29-2012 , 23:28   Re: [help] making a function in pawn
Reply With Quote #7

Quote:
Originally Posted by nikhilgupta345 View Post
Probably on how to implement that one symbol in the denominator to the left or (alpha). I think that's another function within itself or something, not completely sure.
Besides that detail, the function would be:

PHP Code:
gammadist(xabeta)
{
    static const 
e_value 2.72
    
return (1/power(betaa) * themiscoperator a) * power(xa-1) * power(e_value, -(x/beta))

EDIT:

Quote:
Originally Posted by fysiks View Post
That is capital Gamma. According to wikipedia, it's actually a simple function.
It's equal to (n - 1)!, any way for expressing the ! operator?
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross

Last edited by meTaLiCroSS; 09-29-2012 at 23:32.
meTaLiCroSS is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:18.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode