Is there any library which defines factorial and binomial coefficient?

P

PengYu.UT

Hi,

I know they are simple to implement, although I have to take care of
overflow. But I just do not want to reinvent the wheel. Do you know if
there is any library for them? Thanks!

Best wishes,
Peng
 
V

Victor Bazarov

I know they are simple to implement, although I have to take care of
overflow. But I just do not want to reinvent the wheel. Do you know if
there is any library for them? Thanks!

Have you tried the Web? Also, Nikki Locke posts "Available C++ libraries
FAQ" here about once a month, it might be worth checking it out.

V
 
M

marbac

Hi,

I know they are simple to implement, although I have to take care of
overflow. But I just do not want to reinvent the wheel. Do you know if
there is any library for them? Thanks!

Best wishes,
Peng

With respect to program overhead, maybe to slow:

http://www.ginac.de/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,017
Latest member
GreenAcreCBDGummiesReview

Latest Threads

Top