Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extend binomial to real and complex numbers #282

Open
musm opened this issue Dec 11, 2020 · 3 comments
Open

extend binomial to real and complex numbers #282

musm opened this issue Dec 11, 2020 · 3 comments

Comments

@musm
Copy link
Contributor

musm commented Dec 11, 2020

Originally from: JuliaLang/julia#14165

@stevengj
Copy link
Member

Having a binomial(x,y) = inv((x+1)*beta(x - y + 1, y + 1)) method or similar seems reasonable.

@PaulXiCao
Copy link
Contributor

I'd like to work on this. I have the following things in mind

  • implement the function
    • exactly the one-liner that @stevengj wrote before
  • write documentation (link to dlmf, wikipedia)
  • write tests
    • compare to integer inputs
    • compare some random arguments
    • compare complex arguments
    • compare mixed (real, complex) arguments
    • checking BigFloat implementation?

Anything else to keep in mind?

@stevengj
Copy link
Member

That seems like it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants