Statistical functions

Hi!
I'm looking for a freeware class or library that lets me do statistical operations, such as mean and standard deviation.
So I want to give a list or array of doubles as input and get the results back. I should be able to do this in an easy way (otherwise I might as well program it all myself).
I'm using Visual C++ 6.
LVL 2
vendrigAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

nietodCommented:
There is a commercial library at

http://www.nr.com

I don't know of any free ones, but mean and SD are VERY simple, you should be able to to them yourself.
vendrigAuthor Commented:
Hi nietod!
Yeah, I could do it myself, done it for Java once. But I kinda expected it to be already done in C++. And I hope to get more than mu/sigma as a bonus. Because I'll think of something new every week;-) Plus it's nice if someone else tested the code already.
Not looking for a commercial one.
abdijCommented:
Hi,
 Hope this helps:

http://www.vsl.ist.ucf.edu/groups/vtb/ZCAP_PROGRAMR_HTML/aindex.html

There is a file for:
1. mean.c
2. statistics.c

There are others too check thme out.

Bye
Abdij
OWASP: Avoiding Hacker Tricks

Learn to build secure applications from the mindset of the hacker and avoid being exploited.

vendrigAuthor Commented:
Hi Abdij!
numautil.c seems to be what I need here. But I only see the header files, where can I get the source or the library?
abdijCommented:
Hi,

 Here it is
http://www.vsl.ist.ucf.edu/groups/vtb/
There is a .gz file containing the source.

Hope this helps,
Bye
Abdij
vendrigAuthor Commented:
Could you give the URL of that gz, I don't see it anywhere.
KangaRooCommented:
If winzip doesn't eat it try searching for gzip. Maybe its available from delorie...
vendrigAuthor Commented:
Kangaroo: thanks, but I know what to do with a gz file. I just don't see the package with source files anywhere on that page.
KangaRooCommented:
Mh, they are 'out of the air' (http://www.delorie.com/).
Eigenlijk is het de moeite niet om het www af te zoeken. Als je je ie meel even geeft dan stuur ik het gewoon op.
KangaRooCommented:
Ah that's what you mean.
vendrigAuthor Commented:
Kangaroo: WinZip can handle gz, no problem. If you happen to have that statistics package, you can send it to jeroeneke@iname.com
KangaRooCommented:
Alas, a misunderstanding. I was talking about the gzip exacutable.
vendrigAuthor Commented:
Ah, jammer...
KangaRooCommented:
abdijCommented:
Hi,

Search for .tar.gz on this page.
I am planning to download and send the zip to you.

http://www.vsl.ist.ucf.edu/groups/vtb/projectZCAP.html

Bye
Abdij
AlexVirochovskyCommented:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
vendrigAuthor Commented:
abdij: please do not mail it! It's way too big! Now I have the valid URL, so I can download it myself.
abdijCommented:
Hi,
 Thanx Man.

All the best
Enjoy
Bye
Abdij
vendrigAuthor Commented:
Well, I got Alex's program running before the download of that package was finished (it's over 150MB and even at 50kbps that's a lot). It does exactly what I want, so I'll give him the points.
Thanks for all the efforts.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C++

From novice to tech pro — start learning today.