Skip to main content

ScalarSurrogatePlan

Type Alias ScalarSurrogatePlan 

Source
pub type ScalarSurrogatePlan = ScalarChebyshevPlan;
Expand description

Scalar (k = 1) surrogate used by the downstream dispatch layers (see TransmissionFitModel / PrecomputedTransmissionModel).

This was an enum of Gauss vs Chebyshev during PR #475’s bench-off period; Chebyshev won the real-VENUS bench on both accuracy (≤ 2e-15 vs ≤ 4e-15) and wall-time axes, and Lanczos Gauss was deleted per the issue’s “drop the loser” contract. The type alias is kept as a public stable name so callers and downstream dispatch code aren’t coupled to the winning impl’s concrete type — if a future research sprint finds a better scalar surrogate, only the alias moves.

Aliased Type§

pub struct ScalarSurrogatePlan { /* private fields */ }