Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

integrix

Integration for JAX: rules, scans and time steppers, with shared adaptivity and adjoints.

integrix computes one integral, I=∫Ωf(x)dμ(x)I = \int_\Omega f(x) \mathrm{d}\mu(x), in three ways: a rule sums weights against samples, I≈w⊤fI \approx \vect{w}^\top \vect{f}; a scan builds the running integral Fk=Fk−1+wkfkF_k = F_{k-1} + w_k f_k; and a march steps an integrand that depends on the solution, yn+1=Φ(yn,tn,h)\vect{y}_{n+1} = \Phi(\vect{y}_n, t_n, h). Adaptivity and adjoints are shared by all three.

integrix sits at Core tier 1 of the GeoStack: it sums with functax’s rules, solves with gaussx, and extends diffrax with the stack’s steppers. The design is in the GeoStack integrix design page, and the backlog is tracked in waves under geostack#136.

Installation

From GitHub
From source
pip install "integrix @ git+https://github.com/jejjohnson/integrix.git"

Next steps