GNU Scientific Library¶
- Introduction
- Using the Library
- Error Handling
- Mathematical Functions
- Complex Numbers
- Representation of complex numbers
- Complex number macros
- Assigning complex numbers
- Properties of complex numbers
- Complex arithmetic operators
- Elementary Complex Functions
- Complex Trigonometric Functions
- Inverse Complex Trigonometric Functions
- Complex Hyperbolic Functions
- Inverse Complex Hyperbolic Functions
- References and Further Reading
- Polynomials
- Special Functions
- Usage
- The gsl_sf_result struct
- Modes
- Airy Functions and Derivatives
- Bessel Functions
- Clausen Functions
- Coulomb Functions
- Coupling Coefficients
- Dawson Function
- Debye Functions
- Dilogarithm
- Elementary Operations
- Elliptic Integrals
- Elliptic Functions (Jacobi)
- Error Functions
- Exponential Functions
- Exponential Integrals
- Fermi-Dirac Function
- Gamma and Beta Functions
- Gegenbauer Functions
- Hermite Polynomials and Functions
- Hypergeometric Functions
- Laguerre Functions
- Lambert W Functions
- Legendre Functions and Spherical Harmonics
- Logarithm and Related Functions
- Mathieu Functions
- Power Function
- Psi (Digamma) Function
- Synchrotron Functions
- Transport Functions
- Trigonometric Functions
- Zeta Functions
- Examples
- References and Further Reading
- Vectors and Matrices
- Permutations
- Combinations
- Multisets
- Sorting
- BLAS Support
- Linear Algebra
- LU Decomposition
- QR Decomposition
- QR Decomposition with Column Pivoting
- LQ Decomposition
- QL Decomposition
- Complete Orthogonal Decomposition
- Singular Value Decomposition
- Cholesky Decomposition
- Pivoted Cholesky Decomposition
- Modified Cholesky Decomposition
- LDLT Decomposition
- Tridiagonal Decomposition of Real Symmetric Matrices
- Tridiagonal Decomposition of Hermitian Matrices
- Hessenberg Decomposition of Real Matrices
- Hessenberg-Triangular Decomposition of Real Matrices
- Bidiagonalization
- Givens Rotations
- Householder Transformations
- Householder solver for linear systems
- Tridiagonal Systems
- Triangular Systems
- Banded Systems
- Balancing
- Examples
- References and Further Reading
- Eigensystems
- Fast Fourier Transforms (FFTs)
- Numerical Integration
- Introduction
- QNG non-adaptive Gauss-Kronrod integration
- QAG adaptive integration
- QAGS adaptive integration with singularities
- QAGP adaptive integration with known singular points
- QAGI adaptive integration on infinite intervals
- QAWC adaptive integration for Cauchy principal values
- QAWS adaptive integration for singular functions
- QAWO adaptive integration for oscillatory functions
- QAWF adaptive integration for Fourier integrals
- CQUAD doubly-adaptive integration
- Romberg integration
- Gauss-Legendre integration
- Fixed point quadratures
- Integrating on the unit sphere
- Error codes
- Examples
- References and Further Reading
- Random Number Generation
- General comments on random numbers
- The Random Number Generator Interface
- Random number generator initialization
- Sampling from a random number generator
- Auxiliary random number generator functions
- Random number environment variables
- Copying random number generator state
- Reading and writing random number generator state
- Random number generator algorithms
- Unix random number generators
- Other random number generators
- Performance
- Examples
- References and Further Reading
- Acknowledgements
- Quasi-Random Sequences
- Random Number Distributions
- Introduction
- The Gaussian Distribution
- The Gaussian Tail Distribution
- The Bivariate Gaussian Distribution
- The Multivariate Gaussian Distribution
- The Exponential Distribution
- The Laplace Distribution
- The Exponential Power Distribution
- The Cauchy Distribution
- The Rayleigh Distribution
- The Rayleigh Tail Distribution
- The Landau Distribution
- The Levy alpha-Stable Distributions
- The Levy skew alpha-Stable Distribution
- The Gamma Distribution
- The Flat (Uniform) Distribution
- The Lognormal Distribution
- The Chi-squared Distribution
- The F-distribution
- The t-distribution
- The Beta Distribution
- The Logistic Distribution
- The Pareto Distribution
- Spherical Vector Distributions
- The Weibull Distribution
- The Type-1 Gumbel Distribution
- The Type-2 Gumbel Distribution
- The Dirichlet Distribution
- General Discrete Distributions
- The Poisson Distribution
- The Bernoulli Distribution
- The Binomial Distribution
- The Multinomial Distribution
- The Negative Binomial Distribution
- The Pascal Distribution
- The Geometric Distribution
- The Hypergeometric Distribution
- The Logarithmic Distribution
- The Wishart Distribution
- Shuffling and Sampling
- Examples
- References and Further Reading
- Statistics
- Mean, Standard Deviation and Variance
- Absolute deviation
- Higher moments (skewness and kurtosis)
- Autocorrelation
- Covariance
- Correlation
- Weighted Samples
- Maximum and Minimum values
- Median and Percentiles
- Order Statistics
- Robust Location Estimates
- Robust Scale Estimates
- Examples
- References and Further Reading
- Running Statistics
- Moving Window Statistics
- Digital Filtering
- Histograms
- The histogram struct
- Histogram allocation
- Copying Histograms
- Updating and accessing histogram elements
- Searching histogram ranges
- Histogram Statistics
- Histogram Operations
- Reading and writing histograms
- Resampling from histograms
- The histogram probability distribution struct
- Example programs for histograms
- Two dimensional histograms
- The 2D histogram struct
- 2D Histogram allocation
- Copying 2D Histograms
- Updating and accessing 2D histogram elements
- Searching 2D histogram ranges
- 2D Histogram Statistics
- 2D Histogram Operations
- Reading and writing 2D histograms
- Resampling from 2D histograms
- Example programs for 2D histograms
- N-tuples
- Monte Carlo Integration
- Simulated Annealing
- Ordinary Differential Equations
- Interpolation
- Introduction to 1D Interpolation
- 1D Interpolation Functions
- 1D Interpolation Types
- 1D Index Look-up and Acceleration
- 1D Evaluation of Interpolating Functions
- 1D Higher-level Interface
- 1D Interpolation Example Programs
- Introduction to 2D Interpolation
- 2D Interpolation Functions
- 2D Interpolation Grids
- 2D Interpolation Types
- 2D Evaluation of Interpolating Functions
- 2D Higher-level Interface
- 2D Interpolation Example programs
- References and Further Reading
- Numerical Differentiation
- Chebyshev Approximations
- Series Acceleration
- Wavelet Transforms
- Discrete Hankel Transforms
- One Dimensional Root-Finding
- One Dimensional Minimization
- Multidimensional Root-Finding
- Multidimensional Minimization
- Linear Least-Squares Fitting
- Nonlinear Least-Squares Fitting
- Overview
- Solving the Trust Region Subproblem (TRS)
- Weighted Nonlinear Least-Squares
- Tunable Parameters
- Initializing the Solver
- Providing the Function to be Minimized
- Iteration
- Testing for Convergence
- High Level Driver
- Covariance matrix of best fit parameters
- Troubleshooting
- Examples
- References and Further Reading
- Basis Splines
- Overview
- Allocation of B-splines
- Initializing the knots vector
- Properties of B-splines
- Evaluation of B-splines
- Evaluation of B-spline derivatives
- Evaluation of B-spline integrals
- Least Squares Fitting with B-splines
- Gram Matrix
- Interpolation with B-splines
- Hermite Interpolation with B-splines
- Projection onto the B-spline Basis
- Greville abscissae
- Examples
- References and Further Reading
- Sparse Matrices
- Data types
- Sparse Matrix Storage Formats
- Overview
- Allocation
- Accessing Matrix Elements
- Initializing Matrix Elements
- Reading and Writing Matrices
- Copying Matrices
- Exchanging Rows and Columns
- Matrix Operations
- Matrix Properties
- Finding Maximum and Minimum Elements
- Compressed Format
- Conversion Between Sparse and Dense Matrices
- Examples
- References and Further Reading
- Sparse BLAS Support
- Sparse Linear Algebra
- Physical Constants
- Fundamental Constants
- Astronomy and Astrophysics
- Atomic and Nuclear Physics
- Measurement of Time
- Imperial Units
- Speed and Nautical Units
- Printers Units
- Volume, Area and Length
- Mass and Weight
- Thermal Energy and Power
- Pressure
- Viscosity
- Light and Illumination
- Radioactivity
- Force and Energy
- Prefixes
- Examples
- References and Further Reading
- IEEE floating-point arithmetic
- Debugging Numerical Programs
- Contributors to GSL
- Autoconf Macros
- GSL CBLAS Library
- GNU General Public License
- GNU Free Documentation License