Mathematical libraries used in development and those usages with CMake.
- boost Math Toolkit
- Netlib Repository at UTK and ORNL
- CodeCogs: Open Source Scientific Library (C/C++, .NET, Excel)
- GSL (GNU Scientific Library): a numerical library for C and C++ programmers
- GSL Shell offers an interactive command-line interface that gives access to GSL collection of mathematical functions
- C++11 Fixed Point Arithmetic Library
Basic Linear Algebra¶
The BLAS (Basic Linear Algebra Subprograms) are routines that provide standard building blocks for performing basic vector and matrix operations. The Level 1 BLAS perform scalar, vector and vector-vector operations, the Level 2 BLAS perform matrix-vector operations, and the Level 3 BLAS perform matrix-matrix operations. Because the BLAS are efficient, portable, and widely available, they are commonly used in the development of high quality linear algebra software, LAPACK for example.
LAPACK is written in Fortran 90 and provides routines for solving systems of simultaneous linear equations, least-squares solutions of linear systems of equations, eigenvalue problems, and singular value problems.
The ATLAS (Automatically Tuned Linear Algebra Software) project is an ongoing research effort focusing on applying empirical techniques in order to provide portable performance. At present, it provides C and Fortran77 interfaces to a portably efficient BLAS implementation, as well as a few routines from LAPACK.
OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version.
SuiteSparse: A Suite of Sparse Matrix Software.
Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.
Matrix Template Library (MTL2/MTL4)¶
The Matrix Template Library 4 (MTL4) is a development library for scientific computing that combines high productivity with high performance in the execution.
Blitz++ is a C++ class library for scientific computing which provides performance on par with Fortran 77/90. It uses template techniques to achieve high performance. Blitz++ provides dense arrays and vectors, random number generators, and small vectors (useful for representing multicomponent or vector fields).
CLBlast is a modern, lightweight, performant and tunable OpenCL BLAS library written in C++11.
GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating-point numbers.
TooN: Tom's Object-oriented numerics library.
The TooN library is a set of C++ header files which provide basic linear algebra facilities.
C++ implementation of Lie Groups using Eigen commonly used for 2d and 3d geometric problems (i.e. for Computer Vision or Robotics applications).
manif is a header-only c++11 Lie theory library for state-estimation targeted at robotics applications
FFTW is a C subroutine library for computing the discrete Fourier transform (DFT) in one or more dimensions, of arbitrary input size, and of both real and complex data (as well as of even/odd data, i.e. the discrete cosine/sine transforms or DCT/DST).
Ceres Solver is an open source C++ library for modeling and solving large, complicated optimization problems. It can be used to solve Non-linear Least Squares problems with bounds constraints and general unconstrained optimization problems.
g2o: A General Framework for Graph Optimization
ensmallen: flexible C++ library for efficient mathematical optimization
ANN: A Library for Approximate Nearest Neighbor Searching
FLANN is a library for performing fast approximate nearest neighbor searches in high dimensional spaces.
Annoy (Approximate Nearest Neighbors Oh Yeah) is a C++ library with Python bindings to search for points in space that are close to a given query point.