Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: More Fun with Zero!

by Anonymous Monk
on Jul 24, 2001 at 21:52 UTC ( #99428=note: print w/replies, xml ) Need Help??


in reply to More Fun with Zero!

The correct answer is 1 and it is by definition! Power is in fact a subcase of what is call the gama function and in this more global definition you must have Gamma(0,0)=1

Replies are listed 'Best First'.
Re: Re: More Fun with Zero!
by hding (Chaplain) on Jul 25, 2001 at 00:54 UTC

    You may be confused. The gamma function is unrelated to the function x^y. Perhaps you are thinking of the relationship Gamma(n+1) = n! for non-negative integers n. Moreover, Gamma(0) is undefined (as is, more generally, Gamma(n) for non-positive integers n).

    (For those who are curious, the gamma function is most easily defined as the Gamma(x) = integral from 0 to infinity of e^(-t) * t ^ (x-1) dt. Google can pretty easily be convinced to take you to more information about it. But it's pretty much unrelated to the topic at hand.)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://99428]
help
Chatterbox?
[ambrus]: You hvae to be careful with the timer, because apparently Prima::Timer insists on being periodic, wheras AnyEvent::Impl:: Whatever::timer should give a one-shot timer watcher
[ambrus]: I think the minimal implementation here is just a timer and io function, plus pushing to the @REGISTRY.
[Corion]: ambrus: Yeah, at least that's what I think I'll start with. A timer and potentially the dummy IO function that never is ready
[ambrus]: That only lets you invoke the main loop from Prima->run;, not from AnyEvent->condvar- >recv; but that shouldn't matter

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2016-12-08 12:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (141 votes). Check out past polls.