Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best library for statistics in C++? [closed]

I'm looking for high performance code (needs to run in real-time), preferably open source, but if there is nothing that's free and high-perf, I'll take something well supported and of high quality for a cost.

Any suggestions?

These are the ones I've found so far, in no particular order:

CodeCogs

GSL

Cephes

Boost MathToolkit

Blitz++

TNT

like image 683
ApplePieIsGood Avatar asked Apr 14 '09 04:04

ApplePieIsGood


People also ask

What are the types of libraries in C?

Two types of libraries in C: Static and dynamic There are two types of libraries in C static and dynamic. Dynamic libraries are shared libraries with specific functions launched during the execution of a program and contribute to “reduced memory consumption”(techopedia.com). Dynamic libraries are linked in two stages.

Are there C libraries?

A library in C is a collection of header files, exposed for use by other programs. The library therefore consists of an interface expressed in a . h file (named the "header") and an implementation expressed in a .

Where can I find C library?

Libaries consist of a set of related functions to perform a common task; for example, the standard C library, 'libc. a', is automatically linked into your programs by the “gcc” compiler and can be found at /usr/lib/libc. a. Standard system libraries are usually found in /lib and /usr/lib/ directories.

Are C libraries open source?

C is a standard which specifies how C compilers should generate programs. C itself doesn't have any source code, just like a musical note doesn't have any plastic. Some C compilers, such as GCC, are open source.


3 Answers

Check the links on mathtools.net. The page for statistics libraries for C++ has links. Another page http://www.thefreecountry.com/sourcecode/mathematics.shtml lists few more.

Have you checked the 'R project'? I think you can call 'R objects' from C/C++.

like image 58
Nitin Bhide Avatar answered Oct 15 '22 07:10

Nitin Bhide


I'm surprised nobody's mentioned ALGLIB: http://www.alglib.net/

like image 35
Nestor Avatar answered Oct 15 '22 06:10

Nestor


Root has pretty good statistical support. At least as us particle physics types judge these thing. Works in cint interpretation or as a native c++ library.

like image 2
dmckee --- ex-moderator kitten Avatar answered Oct 15 '22 07:10

dmckee --- ex-moderator kitten