Skip to content

Reference

One page per public name, generated from the comments in the headers.

By topic

index contents
Algorithms Graph traversal, shortest paths, spanning trees, connectivity, clique sampling and graph generators. The structures they run on are on the Data structures page.
All concepts Structure is decided by the operations a type provides; a law is declared, because the compiler cannot decide it.
All containers Grouped by what each does. Types own their storage and are over-aligned; the free functions write into caller-provided destinations.
Data structures Graphs, queues, union-find and spatial neighbour structures. The algorithms on them are on the Algorithms page.
All kernels num::kernel: the BLAS layer, raw loops over pointers, templated on the scalar, allocating nothing.
Linear algebra Factorizations, solvers, eigenvalues and the SVD. Every factorization is solved by solve(F, b, x), and the raw-pointer overloads work on caller-owned buffers.
ODEs Initial value problems: explicit, adaptive, symplectic and implicit integrators. The concepts are on the Concepts page.
PDEs and fields Grids, fields, stencils and the solvers built on them. The concepts are on the Concepts page.
Quadrature and roots Integration rules, contour quadrature and scalar root finding. The concepts are on the Concepts page.
Spectral Fourier and sine transforms with backend dispatch. The concepts are on the Concepts page.
Statistics and sampling Streaming statistics, selection, random engines and Monte Carlo sampling. The concepts are on the Concepts page.

By directory

directory contents
algebra/
blas/
container/
core/
fields/ Grids and fields.
kernel/ Raw-pointer BLAS kernels: vector, dense, sparse and complex.
linear/ Linear algebra: factorizations, solvers, eigenvalues, SVD, sparse matrices.
ode/ ODE and symplectic integrators.
omp/
operator/ Generic operator adapters.
pde/ PDE module.
plot/ Matplotlib-style plots drawn by gnuplot, in a window or as text.
quadrature/ Quadrature on \([a, b]\): trapezoid, Simpson, Gauss–Legendre, adaptive, Romberg.
roots/ Scalar root finding: \(f(x^*) = 0\).
spatial/ Spatial data structures.
spectral/
stats/ Online statistics for Monte Carlo observables.
stochastic/
structures/ Discrete structures and graph algorithms.

The example programs are listed under Examples.