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?
 
AlexVirochovskyCommented:
0
 
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.
0
 
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.
0
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

 
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
0
 
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?
0
 
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
0
 
vendrigAuthor Commented:
Could you give the URL of that gz, I don't see it anywhere.
0
 
KangaRooCommented:
If winzip doesn't eat it try searching for gzip. Maybe its available from delorie...
0
 
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.
0
 
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.
0
 
KangaRooCommented:
Ah that's what you mean.
0
 
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
0
 
KangaRooCommented:
Alas, a misunderstanding. I was talking about the gzip exacutable.
0
 
vendrigAuthor Commented:
Ah, jammer...
0
 
KangaRooCommented:
0
 
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
0
 
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.
0
 
abdijCommented:
Hi,
 Thanx Man.

All the best
Enjoy
Bye
Abdij
0
 
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.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.