# gaussian_tables
Precomputed Gauss-Legendre, Gauss-Hermite, and Gauss-Laguerre quadrature nodes and weights, up to
order `MAX_ORDER` (30). These back [`gaussian_integration`](../numerical_integration).
- `nodes(method, order)` returns the `(weight, abscissa)` pairs as `&'static [(f64, f64)]`, or
[`CalcError::QuadratureOrderOutOfRange`](../utils/error_codes.rs) if the order is unavailable.
- Per-family data lives in [`legendre`](legendre.rs), [`hermite`](hermite.rs),
[`laguerre`](laguerre.rs).
```rust
use multicalc::gaussian_tables;
use multicalc::numerical_integration::mode::GaussianQuadratureMethod;
let pairs = gaussian_tables::nodes(GaussianQuadratureMethod::GaussHermite, 5).unwrap();
for (weight, abscissa) in pairs {
// weight * f(abscissa) is one term of the 5-point Gauss-Hermite sum
}
```
Credits: generated by `scripts/build_gaussian_integration_tables.py`.