1. Introduction

GNU Scientific Library(GSL) is a numerical library for C and C++ programmers. Mac os x how to find library folder. It’s a free software under the GNU General Public License.This library provides over 1000 functions which almost covers all the regular mathematical routines.

EMPEPA is software that permits to find the most likely rates of a PEPA model according to a set of sample executions by using the EM algorithm. It uses the GNU Scientific Library (GSL). Conda install linux-ppc64le v2.6; linux-64 v2.6; win-32 v2.4; linux-aarch64 v2.6; osx-64 v2.6; win-64 v2.6; To install this package with conda run one of the following: conda install -c conda-forge gsl. GNU Scientific Library. GNU Scientific Library also known as GSL is installed on the department's Linux computers. Where are the GSL Libraries? In /usr/lib64/ with most other systems libs (which is in the 'standard' search path for libraries).

Scientific

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

Complex Numbers, Roots of PolynomialsSpecial Functions, Vectors and MatricesPermutation, SortingBLAS Support,Linear AlgebraEigensystems, Fast Fourier TransformsQuadrature, Random NumbersQuasi-Random Sequences, Random DistributionsStatistics, HistogramsN-Tuples, Monte Carlo IntegrationSimulated Annealing, Differential EquationsInterpolation, Numerical DifferentiationChebyshev Approximation, Series AccelerationDiscrete Hankel Transforms, Root-FindingMinimization, Least-Squares FittingPhysical Constants, IEEE Floating-PointDiscrete Wavelet Transforms, Basis splines

  • The library uses an object-oriented design. Different algorithms can be plugged-in easily or changed at run-time without recompiling the program
  • Unlike the license of proprietary numerical libraries the license of GSL does not restrict scientific cooperation, instead, it allows you to share your program freely with others.
  • The interface was designed to be simple to link to very high-level language, such as GNU Guile or python.

Primarily Supported Platforms:

Gsl Scientific Library Mac Torrent

Developed on the following platform:

  • GNU/Linux with gcc

Other platforms:

  • SunOS 4.1.3 & Solaris 2.x(Sparc)
  • Alpha GNU/Linux, gcc
  • HP-UX 9/10/11, PA-RISC, gcc/cc
  • IRIX 6.5, gcc
  • m68k NeXTSTEP, gcc
  • Compaq Alpha Tru64 Unix, gcc
  • FreeBSD, OpenBSD & NetBSD, gcc
  • Cygwin
  • Apple Darwin 5.4
  • Hitachi SR8000 Super Technical Server, cc

2. Installation

The current version is GSL-1.16. It was released on 19 July 2013. This version can be found in the gel subdirectory on your nearest GNU mirror )

Gsl Scientific Library Macon Ga

Recommended way to install:

use a package manager

  • Homebrew(for mac users): brew install gsl
  • Synaptic(for Linux users): preinstalled in Ubuntu, Debian administers need to apt-get install synaptic in terminal
  • Cygwin(for windows users):gsl the GNU Scientific Library: runtimegsl-apps the GNU Scientific Library: application programsgsl-debuginfo Debug info for gslgsl-devel the GNU Scientific Library: developers toolsgsl-doc the GNU Scientific Library: documentation

Gsl Gnu Scientific Library Mac Os X

Link to the libraries:

  • Mac+Xcode:1.Create a new Xcode Project2.Edit Build Settings3.Under “Other Linker Flags” add the following:-lgsl-lgslcblas4.Under “Header Search Path” add the following:/usr/local/Cellar/gsl/1.15/include5.Under “Library Search Path” add the following:/usr/local/Cellar/gsl/1.15/lib6.Add the appropriate #include to your source files for the GSL library you wish to use.8. Code and Compile.
  • Windows+Virtual Studio:manual
  • Linux+Terminal:g++ -Wall -o program program.c -lgsl -lgslcblas -lm

3. Examples

The error code numbers returned by library functions are defined in the file gsl_errno.h. They all have the prefix GSL_ and expand to non-zero constant integer values.

Gsl Scientific Library Mac Os

  • Macro: int GSL_EDOMDomain error; used by mathematical functions when an argument value does not fall into the domain over which the function is defined (like EDOM in the C library)
  • Macro: int GSL_ERANGERange error; used by mathematical functions when the result value is not representable because of overflow or underflow (like ERANGE in the C library)
  • Macro: int GSL_ENOMEMNo memory available. The system cannot allocate more virtual memory because its capacity is full (like ENOMEM in the C library). This error is reported when a GSL routine encounters problems when trying to allocate memory with malloc.
  • Macro: int GSL_EINVALInvalid argument. This is used to indicate various kinds of problems with passing the wrong argument to a library function (like EINVAL in the C library).
Scientific

int status = gsl_function (..) // status 0, no error

Gsl Library Visual Studio

printf ('error: %sn', gsl_strerror (status)); //gsl_strerror converts the error codes into a message.

Gsl Gnu Scientific Library

Reference