Skip to main content

gam_model_kernels/
lib.rs

1//! `gam-model-kernels` — the shared BASE kernel layer carved out of
2//! `gam-models` under #1521. These are the family-agnostic infrastructure
3//! modules that every concrete family (survival / bms / gamlss / multinomial /
4//! custom) consumes: the cubic-cell / cell-moment kernels, the design-scaling,
5//! link, and root-solving primitives.
6//!
7//! The crate sits strictly BELOW `gam-models`: it depends only on the lower
8//! tiers (`gam-linalg`, `gam-math`, `gam-problem`, `gam-runtime`, `gam-solve`)
9//! and on its own sibling modules — never up into a concrete family. The
10//! modules are re-exported at the `gam-models` crate root so the relocated
11//! families' `crate::cubic_cell_kernel::*` / `crate::scale_design::*` paths
12//! resolve unchanged.
13
14// `impl_reason_error_boilerplate!` derive, shared with `gam-models`. Brought
15// into crate-wide textual scope here so the relocated modules' unqualified
16// `impl_reason_error_boilerplate! { .. }` call sites resolve unchanged.
17#[macro_use]
18mod macros;
19
20pub mod cell_moment_family;
21pub mod cubic_cell_kernel;
22pub mod inverse_link;
23pub mod monotone_root;
24pub mod penalized_projection;
25pub mod scale_design;
26pub mod sigma_link;