Skip to main content

Crate gam_problem

Crate gam_problem 

Source
Expand description

Shared REML/LAML contract types.

These are the family-facing interfaces for REML outer assembly. They live below solver so families can construct operator-backed derivative payloads without importing solver::estimate::reml::reml_outer_engine.

Re-exports§

pub use solver_contract::DeclaredHessianForm;
pub use solver_contract::Derivative;
pub use solver_contract::EfsEval;
pub use solver_contract::HessianResult;
pub use solver_contract::OuterEval;
pub use solver_contract::OuterHessianMaterialization;
pub use solver_contract::OuterHessianOperator;
pub use solver_contract::OuterStrategyError;

Modules§

solver_contract
Outer-objective contract (lower shared layer)

Structs§

BlockLocalDrift
ContractedPsiSecondOrder
DenseMatrixHyperOperator
HyperCoord
HyperCoordDrift
HyperCoordPair
LinearInequalityConstraints
ProjectedFactorCache
Memoizer for projected factor products keyed on a (design, factor) fingerprint.
ProjectedFactorKey
SeedConfig

Enums§

DriftDerivResult
EvalMode
Evaluation mode for the unified evaluator.
PseudoLogdetMode
How the penalized Hessian’s log-determinant and derivatives treat the spectrum below the stability floor.
SeedRiskProfile

Traits§

HyperOperator

Functions§

clamp_seed_rho_to_bounds
in_nested_parallel_region
true when the current thread is inside at least one [NestedParallelGuard] scope, i.e. a parallel row reduction is already in flight on this thread.
normalize_seed_bounds
with_nested_parallel
Run body with the current thread marked as inside a data-parallel row region, so any faer GEMM it issues (directly or transitively) pins to Par::Seq via effective_global_parallelism instead of re-fanning the global Rayon pool. The guard is held for exactly the duration of body and dropped on return — including early ? returns from inside body, since the guard lives in this function’s frame.

Type Aliases§

ContractedPsiSecondOrderFn
FixedDriftDerivFn