Skip to main content

Module axis

Module axis 

Source
Expand description

One-dimensional sample axes with built-in quadrature weights.

An Axis holds strictly increasing sample coordinates and the weights wᵢ of a quadrature rule ∫ f(u) du ≈ Σ wᵢ f(uᵢ) over the axis’s extent. Jacobians are not included here: the domain that combines axes multiplies them in. Periodic axes (azimuth) cover one period and wrap.

Structs§

Axis

Enums§

QuadratureRule
How an axis’s quadrature weights were constructed.

Functions§

gauss_legendre_nodes
Gauss-Legendre nodes and weights on [-1, 1], by Newton iteration on the Legendre recurrence.