Looking for the latest version? Download ccgsl-1.16.1.tar.gz (1.0 MB)
Name Modified Size Downloads / Week Status
Totals: 36 Items   31.2 MB 48
ccgsl 2012-01-15 1 weekly downloads
ccgsl-1.16.1.tar.gz 2014-02-22 1.0 MB 11 weekly downloads
ccgsl-1.16.tar.gz 2013-11-17 1.0 MB 1212 weekly downloads
ccgsl-0.99-14.tar.gz 2013-06-16 991.3 kB 11 weekly downloads
ccgsl-0.99-13.tar.gz 2013-03-16 995.4 kB 22 weekly downloads
ccgsl-0.99-12.tar.gz 2013-02-04 993.2 kB 11 weekly downloads
ccgsl-0.99-11.tar.gz 2013-01-02 993.0 kB 11 weekly downloads
ccgsl-0.99-10.tar.gz 2012-12-17 992.9 kB 11 weekly downloads
ccgsl-0.99-9.tar.gz 2012-12-04 992.8 kB 11 weekly downloads
ccgsl-0.99-8.tar.gz 2012-08-26 991.3 kB 11 weekly downloads
ccgsl-0.99-7.tar.gz 2012-08-25 981.6 kB 11 weekly downloads
ccgsl-0.99-6.tar.gz 2012-08-25 950.6 kB 11 weekly downloads
ccgsl-0.99-5.tar.gz 2012-08-23 949.7 kB 11 weekly downloads
ccgsl-0.99-4.tar.gz 2012-08-22 945.1 kB 11 weekly downloads
ccgsl-0.99-3.tar.gz 2012-08-18 944.2 kB 11 weekly downloads
ccgsl-0.99-2.tar.gz 2012-08-12 943.4 kB 11 weekly downloads
ccgsl-0.99-1.tar.gz 2012-08-11 943.3 kB 11 weekly downloads
ccgsl-0.99-0.tar.gz 2012-08-08 944.2 kB 11 weekly downloads
ccgsl-0.98.tar.gz 2012-08-08 940.7 kB 11 weekly downloads
ccgsl-0.97.tar.gz 2012-08-07 930.6 kB 11 weekly downloads
ccgsl-0.95.tar.gz 2012-08-06 925.7 kB 11 weekly downloads
ccgsl-0.94.tar.gz 2012-08-06 923.2 kB 11 weekly downloads
ccgsl-0.92.tar.gz 2012-08-05 921.1 kB 11 weekly downloads
ccgsl-0.90.tar.gz 2012-08-05 918.8 kB 11 weekly downloads
ccgsl-0.83.tar.gz 2012-07-30 913.3 kB 22 weekly downloads
ccgsl-0.82.tar.gz 2012-07-12 883.4 kB 11 weekly downloads
ccgsl-0.81.tar.gz 2012-06-25 882.3 kB 11 weekly downloads
ccgsl-0.80.tar.gz 2012-04-08 879.4 kB 11 weekly downloads
ccgsl-0.75.tar.gz 2012-04-04 856.0 kB 11 weekly downloads
ccgsl-0.71.tar.gz 2012-03-29 843.6 kB 11 weekly downloads
README 2012-03-27 3.4 kB 11 weekly downloads
ccgsl-0.70.tar.gz 2012-03-27 801.6 kB 11 weekly downloads
ccgsl-0.64.tar.gz 2012-02-19 788.8 kB 11 weekly downloads
ccgsl-0.63.tar.gz 2012-01-22 759.9 kB 11 weekly downloads
ccgsl-0.62.tar.gz 2012-01-21 754.5 kB 11 weekly downloads
ccgsl-0.6.tar.gz 2012-01-15 730.5 kB 11 weekly downloads
Your are probably reading this because you want to know what the ccgsl package is and how you should go about installing it. First, the ccgsl package is a set of C++ wrappers for many of the functions and structs of the GNU Scientific Library (http://www.gnu.org/software/gsl/). To use it you must also install the GNU Scientific Library (GSL). The package is not an object-oriented version of the GSL. Rather, it provides some features that are often used in C++ but not available in the C code that GSL uses. First, it avoids allocating and freeing structs such as gsl_vector and gsl_rng by reïmplementing them as classes that can be used as if they were automatic variables. The main effect of this is that, for example, instead of gsl_vector* v = gsl_vector_alloc( n ); /* lots of code using v */ gsl_vector_free( v ); you can use gsl::vector v; /* lots of code using v */ because the memory allocated for v is automatically freed when v goes out of scope and no other vector is sharing it. Internally, the classes behave like boost (http://www.boost.org/) shared pointers, but object-creation is simpler. Second, ccgsl provides easier interaction with the Standard Template Library (STL). The classes it provides are designed so that, for example, std::list<gsl::vector> v; works efficiently. Two sets of classes, gsl::block* and gsl::vector* are also set up as STL containers. This means that you can use STL algorithms with them. So, for example, for a gsl::vector object v, algorithms like the following work. std::sort( v.begin(), v.end() ); std::copy( v.begin(), v.end(), std::ostream_iterator<double>( std::cout, " " ) ); Third, ccgsl optionally lets you use C++ exception handling by using the gsl::exception class to turn GSL errors into exceptions. This lets you use, for example, the simpler form of most gsl::sf functions within a try block rather than use the only method available in C: call a function returning an integer that indicates an error value and pass the function value back through a pointer to a double. Since you only need the .hpp header files of the ccgsl package to us it, you can, if you like, just copy these to a convenient location such as /usr/local/include/ccgsl. The ccgsl package also includes a standard GNU build system, which will install the header files for you. It can also build some test programmes and doxygen documentation. Here is a typical install from the ccgsl-*.tar.gz file. The INSTALL file gives more detail. $ tar zcvf ccgsl-*.tar.gz $ cd ccgsl-* $ ./bootstrap $ ./configure $ sudo make install You can also build documentation if you have doxygen (http://www.stack.nl/~dimitri/doxygen/) installed and some test programmes using: $ make doc $ make check The test programmes contain some examples of how to use ccgsl. Note that $ make on its own does nothing because there is nothing to make. You can build the documentation and test programmes in a directory other than the source directory. Using ccgsl should be straightforward. Most functions look and behave very much like the GSL equivalents. So the GSL documentation should be enough for most purposes. The ccgsl documentation gives a little more information on individual classes and functions. Typically, instead of using a GSL header you use as ccgsl one. Then you compile and link exactly as if you were compiling and linking with GSL in C++.
Source: README, updated 2012-03-27