Wednesday, February 29, 2012

Configure GSL-1.8 with Dev-C++ in windows.

To download gsl-1.8 you can use this link.

The GNU Scientific Library (GSL) is a numerical library for C and C++ programmers. It is free software under the GNU General Public License.

The library provides a wide range of mathematical routines such as random number generators, special functions and least-squares fitting. There are over 1000 functions in total with an extensive test suite.

The complete range of subject areas covered by the library includes,

Complex NumbersRoots of Polynomials
Special FunctionsVectors and Matrices
PermutationsSorting
BLAS SupportLinear Algebra
EigensystemsFast Fourier Transforms
QuadratureRandom Numbers
Quasi-Random SequencesRandom Distributions
StatisticsHistograms
N-TuplesMonte Carlo Integration
Simulated AnnealingDifferential Equations
InterpolationNumerical Differentiation
Chebyshev ApproximationSeries Acceleration
Discrete Hankel TransformsRoot-Finding
MinimizationLeast-Squares Fitting
Physical ConstantsIEEE Floating-Point
Discrete Wavelet TransformsBasis splines

  • You can download gsl-1.8 form here.
  • After downloading install gsl.
  • and do some changes in the Dev-C++ compiler.
  • go to Tools->Compiler options then follow these steps as shown in image below.
  • add these commend to the linker
    • -llibgsl -llibgslcblas


  •  Then go to directories and add followings directories of GSL as shown below