Skip to main content

quotes_over_lanes

Function quotes_over_lanes 

fn quotes_over_lanes(
    params: &[f64],
    rungs: &[Rung],
    quotes_for: impl FnMut(&[JetK<f64, LANES>]) -> Result<Vec<JetK<f64, LANES>>, CalibrationError>,
) -> Result<(Vec<f64>, Vec<Vec<f64>>), CalibrationError>
Expand description

The block loop every quote block shares: eight forward lanes at a time, each seeding one parameter, quotes_for reading every rung’s quote in whatever view the seeded parameters build. Returns (read_back, dq): each rung’s quote at the parameters, and dq[i][j] = ∂qᵢ/∂paramⱼ.