[Ccgsl-discuss] New version of ccgsl (minor changes)
Use Gnu Scientific Library as if it were writtem in C++.
Brought to you by:
jdl3
From: John D L. <J.D...@bt...> - 2012-08-22 19:07:29
|
I’ve made some minor updates. The main change is the addition of template versions of functions that take double* or double const* arguments in GSL. Earlier versions had these for most such functions. I think the latest releases have them for all such functions. The effect of these functions is simple: you can pass std::vector<double>, gsl::vector, or std::array<double> to a function that in GSL would take a double* or double const* argument. Thus, for example, instead of gsl::stats::mean( data, 1, n ) where data is a double* containing n doubles, you can use gsl::stats::mean( vector ) // default stride of 1 is used where vector is a gsl::vector or std::vector<double>. The other changes are mainly to test functions that are not installed. There are no bug fixes. -- John D Lamb |